/** Settings adaptation for both namespace-based and live-Config Harness hosts. */ import type { Context } from '@deepseek-ai/cordis'; import type Schema from '@deepseek-ai/schemastery'; import type { SettingsNamespace } from '@deepseek-ai/dsh-settings'; /** Mark display fields editable on hosts that support volatile Config references. */ export declare function withLiveSettings(schema: Schema, fields: readonly (keyof T)[]): Schema; /** Keep plain Config consumers reading the latest snapshots without exposing references. */ export declare function liveConfigValues(config: T): T; /** Observe display settings without remounting the TUI or creating another session. */ export declare function displaySettingsScope(owner: Context, settingsCtx: Context, ns: SettingsNamespace, schema: Schema, config: object): { get(): T; watch(listener: (value: T) => void): () => void; legacy: boolean; }; /** Read effective values on new hosts; retain support for older descriptor implementations. */ export declare function settingsValue(settings: { describe(): readonly { ns: string; value?: unknown; }[]; get?(ns: string): unknown; }, ns: string): unknown; //# sourceMappingURL=settingsCompat.d.ts.map