export declare const applySpec: (spec: Record any>) => (...args: any[]) => Record;