import { type TreeNode } from '../utils/layout';
/** Create action script */
export declare function generateWidget(options: {
    /** Has the name of the action. Can also be a path with the name (e.g actions/hello) */
    name: string;
    /** Specifies in which folder the action widget should be generated in */
    actionsDir: string;
    /** Has the current working directory */
    cwd: string;
    /** Whether to write to the filesystem or not */
    dryRun?: boolean;
}): Promise<TreeNode>;
