export interface CodexReviewedHookSource { path: string; sha256: string | null; } export interface CodexHookMcpDependencies { sources: CodexReviewedHookSource[]; servers: string[]; } /** Exact Codex installed.rs selector contract, using its locked semver1.0.27 * Version::cmp (including BuildMetadata::cmp), not loose npm precedence. * Mixed semver/lexical comparisons can cycle. Validate the complete resulting * order so selection cannot depend on native read_dir/sort enumeration. */ export declare function selectCodexPluginVersion(versions: readonly string[], budget?: { remaining: number; }): string; export declare function captureCodexHookMcpDependencies(configPath: string, reviewed: readonly CodexReviewedHookSource[], configText?: string, changes?: Map, budget?: import("./agent-discovery-bytes.js").DiscoveryByteBudget): CodexHookMcpDependencies;