export interface ProviderChoice { id: "ollama" | "openrouter"; enabled: boolean; /** Provider-specific settings the wizard collected. */ settings: Record; } export interface WriteConfigInput { repoRoot: string; providers: ProviderChoice[]; defaultTask: { provider: string; model: string; }; /** Secrets to merge into .env. Keys are env var names. */ secrets: Record; } export interface WriteResult { envPath: string; configPath: string; envWritten: boolean; configWritten: boolean; envBackupPath?: string; configBackupPath?: string; } /** * Writes .env and config/cortex.yaml. If either already exists, backs it up * first with a `.bak.` suffix and replaces. Never deletes anything. */ export declare function writeConfig(input: WriteConfigInput): Promise; //# sourceMappingURL=write-config.d.ts.map