export declare type AllOf = ['Needs to be all of', T]; /** * Creates a function that requires all keys of the generic type to be used as parameters. * The function itself will return the given parameters. */ export declare function allOf(): (...array: U & ([T] extends [U[number]] ? unknown : AllOf[])) => U & ([T] extends [U[number]] ? unknown : AllOf[]);