import { type TreeNode } from '../utils/terminal/layout'; import type { Spinner } from '../utils/terminal/spinner-service'; /** Create settings widget script */ export declare function generateSettingsWidget(options: { /** Has the name of the settings widget. Can also be a path with the name (e.g settings/hello) */ name: string; /** Specifies in which folder the settings widget should be generated in */ settingsDir: 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;