// Declarations for bin/settings.mjs, the launcher's plain-JS settings module, so the TypeScript tests type what they import. export type Env = Record; export interface Setting { env: string; check: (value: unknown) => string; shown?: (raw: string) => string; about: string } export declare const SETTINGS: Record<"critic" | "critic.mind" | "critic.model" | "provider" | "mind" | "port", Setting> & Record; export declare function settingsRoot(env?: Env): string; export declare function settingsPath(env?: Env): string; export declare function readSettings(env?: Env): { values: Record; file: string; unreadable?: string }; export declare function applySettings(env?: Env, say?: (line: string) => void): { applied: string[]; overridden: string[]; file: string }; export declare function setSetting(key: string, value: unknown, env?: Env): { file: string; value: string }; export declare function unsetSetting(key: string, env?: Env): { file: string; removed: boolean }; export interface SettingRow { key: string; env: string; value: string | null; source: "environment" | "settings" | "default"; about: string; shadowed?: string } export declare function describeSettings(env?: Env): { file: string; unreadable?: string; rows: SettingRow[] }; /** Why codex is refused as a mission's mind on Windows (the same words as src/codex-windows.ts). */ export const CODEX_MIND_ON_WINDOWS: string;