import { WeaveObject } from './weaveObject'; export type ColumnMapping = { [K in keyof O]: keyof I; }; export type ArgsObject = { [key: string]: any; }; export type Row = { [key: string]: any; }; export interface Callable { run: (input: I) => Promise; } export type FnInputs> = T extends Callable ? I : never; export type FnOutput> = T extends Callable ? O : never; export declare abstract class CallableObject extends WeaveObject implements Callable { abstract run(input: I): Promise; } export declare function mapArgs, M extends Record>(input: T, mapping: M): { [K in keyof M]: T[M[K]]; }; //# sourceMappingURL=fn.d.ts.map