import React from 'react'; import type { Channel } from '../dsh-adapter/channel.js'; export interface SettingsGroupTarget { ns: string; id: string; } /** * The settings screen — `/settings` as a screen of its own (issue #165). * * The TUI owns only presentation here: plugin-declared sections from the * `tuiSettingsSections` seam render as editable forms; every write goes back * through the dsh settings service (revision-fenced `mutate` path ops) or the * credentials seam (secret fields, blank-until-typed). * * Edits auto-save: toggling a boolean/select writes on the spot, confirming a * changed text draft writes on Enter, and Esc cancels the current text draft. * The SettingsForm still stages drafts under the hood (its * snapshot save keeps rapid successive edits serialized; see * settingsEditor.ts), so the brief in-flight window and a failed save keep * their `*` / badge feedback. */ export declare function Settings({ channel, onClose, initialGroup, }: { channel: Channel; onClose: () => void; /** Optional command deep-link; invalid targets fall back to the root list. */ initialGroup?: SettingsGroupTarget; }): React.ReactNode; //# sourceMappingURL=Settings.d.ts.map