export type FunctionType = 'cron' | 'model' | 'route' | 'workflow'; export type FunctionLanguage = 'js' | 'ts'; export interface CreateFunctionArgs { functionName: string; trigger: FunctionType; } export interface WriteFunctionFileParams { description: string; events: string; extension?: string; functionName: string; language: FunctionLanguage; route: string; schedule: string; trigger: FunctionType; } export declare function getFunctionTemplate({ description, events, extension, functionName, language, route, schedule, trigger, }: WriteFunctionFileParams): string;