export { getOpencodeConfigPath, getOpencodeDir, getOpencodeGlobalConfigDir, getOpencodeGlobalConfigPath } from './paths.js'; export declare const OPENCODE_CONFIG_SCHEMA = "https://opencode.ai/config.json"; export interface OpencodeConfig { $schema?: string; mcp?: Record; [key: string]: unknown; } /** Read and parse an OpenCode configuration file as an OpencodeConfig object. */ export declare function readOpencodeConfig(configPath: string): Promise; /** Atomically write an OpenCode configuration object to disk after normalization. */ export declare function writeOpencodeConfig(configPath: string, config: OpencodeConfig): Promise; /** Normalize an OpenCode configuration ensuring $schema and a valid mcp record. */ export declare function normalizeOpencodeConfig(config: OpencodeConfig): OpencodeConfig & { $schema: string; mcp: Record; };