import { type TreeNode } from '../utils/terminal/layout'; /** Create function script */ export declare function generateFunction(options: { /** Has the name of the function. Can also be a path with the name (e.g functions/hello) */ name: string; /** Specifies in which folder the function should be generated in */ functionsDir: string; /** Has the current working directory */ cwd: string; /** Whether to write to the filesystem or not */ dryRun?: boolean; /** Source root of the files */ sourceRoot: string; }): Promise;