import { RuntypeBase } from './runtype'; export interface Contract { enforce(f: (...a: A) => Z): (...a: A) => Z; } /** * Create a function contract. */ export declare function Contract(argTypes: { [key in keyof A]: key extends 'length' ? A['length'] : RuntypeBase; }, returnType: RuntypeBase): Contract;