import { OpesproOpenCodeConfig } from "./types"; /** * Resolve config file path by searching multiple locations * 通过搜索多个位置解析配置文件路径 * * Search order / 搜索顺序: * 1. /.opencode/opespro-opencode.jsonc * 2. /opespro-opencode.jsonc * 3. Parent directories up to $HOME * 4. ~/.config/opencode/opespro-opencode.jsonc */ export declare function resolveConfigPath(workspaceDir: string): string | null; /** * Load and parse the opespro-opencode.jsonc configuration * 加载并解析 opespro-opencode.jsonc 配置 * * If no config file is found, returns an empty config with provider discovery. * 如果未找到配置文件,则返回带 provider 发现的空配置。 */ export declare function loadConfig(filePath: string | null): OpesproOpenCodeConfig;