export interface PluginConfig { /** GitNexus npm package version. Use "latest" or pin like "1.5.2" */ gitnexusVersion: string; /** Automatically refresh stale indexes on session start */ autoRefreshStale: boolean; /** Automatically refresh after git mutations (commit, merge, etc.) */ autoRefreshOnCommit: boolean; } /** * Load config from project-level or global, with project overriding global. * Locations checked: * .opencode/gitnexus-opencode.json (project) * ~/.config/opencode/gitnexus-opencode.json (global) */ export declare function loadConfig(cwd: string): PluginConfig; /** Build the npx command array for gitnexus CLI */ export declare function gitnexusCmd(config: PluginConfig): string[];