import { SimpleSchema, AIFunctionOptions } from '@/types';
export declare function createAIFunction<T extends SimpleSchema>(functionName: string, schema: T, options?: AIFunctionOptions): (input: any) => Promise<import("ai").GenerateObjectResult<{
    [x: string]: any;
}> | import("ai").StreamObjectResult<{
    [x: string]: any;
}, {
    [x: string]: any;
}, never>>;
//# sourceMappingURL=function-generator.d.ts.map