import { Key } from '../../Any/Key'; import { _Omit as _OOmit } from '../Omit'; import { _Omit as _LOmit } from '../../List/Omit'; import { List } from '../../List/List'; import { BuiltIn } from '../../Misc/BuiltIn'; import { Tail } from '../../List/Tail'; /** * @hidden */ declare type OmitAt> = O extends BuiltIn ? O : Path extends [Key] ? O extends List ? _LOmit : O extends object ? _OOmit : O : { [K in keyof O]: K extends Path[0] ? OmitAt> : O[K]; }; /** * Remove out of `O` the fields at `Path` * @param O to remove from * @param Path to be followed * @returns [[Object]] * @example * ```ts * ``` */ export declare type Omit> = Path extends unknown ? OmitAt : never; export {};