import type { CapabilityMap, Evidence } from "./schema.js"; import type { Method, TranscriptKnowledge } from "./wire.js"; export declare const PI_TRANSCRIPT_EVIDENCE: Evidence; export declare const PI_TRANSCRIPT_RULES: { appliesTo: import("./schema.js").Applicability; description: "An explicit file selects its v3 native header ID. A nonempty PI_CODING_AGENT_SESSION_DIR selects a flat directory for exact _ID.jsonl lookup, independent of the header workspace. Otherwise lookup is workspace-scoped under PI_CODING_AGENT_DIR/sessions or ~/.pi/agent/sessions using Pi's dash-wrapped workspace slug. Relative transcript overrides anchor at the hcn process cwd. Reject multiple matches; validate the chosen header ID. Never initialize missing stores." | "Bookmark v1 binds pi-file-v1, native conversation ID, complete-entry count, byte boundary, and SHA-256 of the entire header and committed prefix. Verify all fields and the prefix before continuation. A new explicit location is allowed when the same native identity and bytes are established. Native IDs alone never validate a bookmark." | "Capture one regular-file identity and finite byte size. Read that prefix twice through the same open handle and compare bytes and metadata. Exclude later appends. Existing Pi v3 histories append; format migrations and forks establish different format/identity. Fail detected replacement, truncation or changed prefix. No claim covers an arbitrary writer violating the declared append-only protocol." | "Open regular files read-only. Never start Pi, load configuration or extensions, migrate, repair, or write history. Close the file on every exit." | "Preserve original JSON values. Normalize message blocks, explicit parentId, toolCallId and firstKeptEntryId only. Saved selection is the final native entry under Pi's reload rule." | "Require a session header with version 3, nonempty id and cwd, and well-framed native entries with unique IDs. Reject unknown format versions without migration." | "The v3 JSONL file is one native conversation. Preserve every complete non-header entry in byte order, including abandoned branches."; evidence: Evidence[]; id: "pi-continuation-v1" | "pi-file-resolution-v1" | "pi-format-v3" | "pi-normalization-v1" | "pi-order-v1" | "pi-passive-file-v1" | "pi-prefix-v1"; purpose: "compatibility" | "consistency" | "continuation" | "normalization" | "ordering" | "passivity" | "resolution"; }[]; export declare const PI_TRANSCRIPT_CAPABILITIES: CapabilityMap; export declare const PI_TRANSCRIPT_METHOD: Method; export declare const PI_TRANSCRIPT: TranscriptKnowledge; //# sourceMappingURL=pi.d.ts.map