import type { Build } from "../../knowledge/transcript/schema.js"; import type { RecordEnvelope } from "../../knowledge/transcript/wire.js"; import type { NativeBase, NativeEntry, NativeHistory } from "./native.js"; export declare function parseCodexHistory(text: string | Uint8Array): NativeHistory; /** The writer build the rollout's own header names. The recorder writes one * `cli_version` per rollout and no build hash, so the version stands alone. */ export declare function codexWriterBuild(history: NativeHistory): Build; export declare function codexBase(history: NativeHistory): NativeBase | null; export declare function validateCodexBase(history: NativeHistory, base: NativeBase): void; export declare function codexNativeId(history: NativeHistory): string; export declare function normalizeCodex(entry: NativeEntry, conversationId: string): RecordEnvelope; //# sourceMappingURL=codex.d.ts.map