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