export declare type Omit = Pick>; export declare const tuple: (...args: T) => T; export declare const tupleNum: (...args: T) => T; /** * https://stackoverflow.com/a/59187769 * Extract the type of an element of an array/tuple without performing indexing */ export declare type ElementOf = T extends (infer E)[] ? E : T extends readonly (infer E)[] ? E : never;