/** * Persistent server settings. * * Stored in ~/.config/meridian/settings.json. Survives proxy restarts. * Shared between CLI, UI, and API — browser localStorage is only used * for client-only preferences (theme, collapsed sections, etc.). * * This is a leaf module — no imports from server.ts or session/. */ export interface MeridianSettings { /** Last active profile ID — restored on proxy startup */ activeProfile?: string; } /** Read settings from disk. Returns empty object if file doesn't exist or is invalid. */ export declare function loadSettings(): MeridianSettings; /** Write settings to disk. Merges with existing settings (doesn't clobber unknown keys). */ export declare function saveSettings(updates: Partial): void; /** Get a single setting value */ export declare function getSetting(key: K): MeridianSettings[K]; /** Set a single setting value and persist */ export declare function setSetting(key: K, value: MeridianSettings[K]): void; //# sourceMappingURL=settings.d.ts.map