import type { CliOptions } from '../utils/config/cli-options'; import type { TreeNode } from '../utils/terminal/layout'; /** * Updates the application configuration JSON by registering a new settings widget * under `app.settings[]` and ensuring the necessary scopes are present. * Finally, it writes the updated configuration to the app.config.json file. */ export declare function updateSettingsAppConfigJson(options: { appConfig: CliOptions; /** The settings widget id (the sanitized widget file basename without the `.widget.tsx` suffix) */ widgetId: string; /** The name of the settings widget used to derive the display name */ name: string; /** The schema id(s) to wire into the widget's `schemaIds` */ schemaIds: string[]; /** Has the current working directory */ cwd: string; /** Whether to write to the filesystem or not */ dryRun?: boolean; }): Promise;