export interface ContractCondition { readonly label: string; readonly validate: (value: T, key: string) => boolean; } type IdentityFn = >(obj: T) => T; type IdentityWithConditionFn = >(obj: T) => T; export declare const exactly: (required: string[]) => IdentityFn; export declare const ensure: (required: string[]) => IdentityFn; export declare const ensureWith: (required: string[], condition: ContractCondition) => IdentityWithConditionFn; export {}; //# sourceMappingURL=Contracts.d.ts.map