import { type TreeNode } from '../utils/terminal/layout'; import type { Spinner } from '../utils/terminal/spinner-service'; /** Create test for an action widget */ export declare function generateWidgetTest(options: { /** The name of the action widget. */ name: string; /** Specifies in which folder the action is located in */ actionsDir: string; /** Has the current working directory */ cwd: string; /** Whether to write to the filesystem or not */ dryRun?: boolean; /** * The spinner owned by the calling command. When provided, its text is temporarily switched * to reflect the dependency install and restored afterwards (success or failure), instead of * creating a second, separate install spinner. */ spinner?: Spinner; }): Promise;