export interface ConfigOptions { opencodeHome: string; dryRun: boolean; setDefaultRose?: boolean; forceDefaultAgent?: boolean; model?: string; forceModel?: boolean; playwrightConfig?: Record; } export interface ConfigResult { configPath: string; changed: boolean; backupPath?: string; actions: string[]; skipped: string[]; } export declare function configPathFor(opencodeHome: string): Promise; export declare function parseConfigText(text: string, label?: string): unknown; export declare function readOpenCodeConfig(opencodeHome: string): Promise<{ configPath: string; text: string; value: any; exists: boolean; }>; export declare function mergeOpenCodeConfig(options: ConfigOptions): Promise;