import z from "@deepseek-ai/schemastery"; import { Volatile } from "@deepseek-ai/cordis"; //#region src/app/config/schema.d.ts /** The canonical `pi-tui-preferences` Config: the 20 shared preferences plus * the Host-owned migration marker (`legacySettingsMigrationVersion`, default * 0, completion value 2). */ interface PreferencesConfig { readonly theme: Volatile; readonly iconStyle: Volatile; readonly footer: Volatile; readonly footerFallbackMode: Volatile; readonly footerLayout: Volatile; readonly footerCustomItems: Volatile; readonly footerCommand: Volatile; readonly fullscreen: Volatile; readonly busyEnter: Volatile; readonly localShellSandbox: Volatile; readonly homeEndKeys: Volatile; readonly displayPreset: Volatile; readonly progressUpdates: Volatile; readonly gitAttribution: Volatile; readonly responseStyle: Volatile; readonly notificationMode: Volatile; readonly notificationMethod: Volatile; readonly terminalProgress: Volatile; readonly wheelScrollLines: Volatile; readonly keybindings: Volatile; /** Internal one-shot Host migration marker: NEVER a product row, never a * behavior switch — it only keeps an already-migrated profile from * re-applying old sources over newer user values. */ readonly legacySettingsMigrationVersion: Volatile; } declare const PreferencesConfig: z; /** The published root Config: the resumed session id, the internal test-only * status sink, the 20 preferences and the marker. `tui-app` declares it; the * canonical preferences row declares only {@link PreferencesConfig}. */ interface Config extends PreferencesConfig { /** Resumed session id; a fresh session is created when absent. */ sessionId?: string; /** Test seam: the pre-mount status output (defaults to process.stdout, * TTY-gated). Injectable so the runner tests capture the status writes * without patching the global stdout (which would fight the test * reporter's own writes). STRUCTURAL on purpose: the public Config type * must not reference the internal startup-status module (the public * .d.mts leak gate). */ startupStatusOutput?: { readonly isTTY?: boolean; write(text: string): unknown; }; } declare const Config: z; //#endregion export { PreferencesConfig as n, Config as t };