import { type ClaudeSettingsWitnessBudget } from "./claude-settings-witness.js"; export declare function hashCodexSettingsReplacement(text: string, budget?: ClaudeSettingsWitnessBudget): string; /** The parsed document and numeric spellings a V1 digest binds, before the * documented inference fields are removed. Callers that edit the structure * (codexSettingsToleratesScreenReaderReceipt) finish each edited copy separately. */ export declare function prepareCodexSettingsV1(text: string): { config: Record; tokens: string[]; }; /** The V1 digest of a prepared structure. Mutates `config`. */ export declare function finishCodexSettingsV1(config: Record, tokens: string[]): string; export declare function captureCodexSettings(path: string, budget?: ClaudeSettingsWitnessBudget): { path: string; hashMode: "codex-settings-v1"; sha256: string; }; export declare function upgradeCodexSettingsWitness(previous: { path: string; hashMode?: "bytes"; sha256: string; }, reviewedSettingsPath: string): ReturnType;