type TranscriptRecord = Record; /** * Claude can flush attachment records before their parent prompt/attachment. * Delay only those attachments until the parent is present. Conversational * records keep their physical order; the normal UUID, ancestry, version, and * foreground-chain checks still apply to the resulting turn. */ export declare function orderClaudePrewrittenAttachments(records: readonly TranscriptRecord[]): TranscriptRecord[]; export declare function assertParentsPrecedeChildren(records: readonly TranscriptRecord[], recordsByUuid: ReadonlyMap): void; /** Include every physical attachment offset belonging to the captured turn. */ export declare function earliestClaudeTranscriptRecordOffset(entries: readonly { record: TranscriptRecord; offsetBytes: number; }[], turnRecords: readonly TranscriptRecord[], promptOffset: number): number; /** Start an incremental read at the exact prompt after attachment ordering. */ export declare function initialClaudeTranscriptCheckpointRecords(records: readonly TranscriptRecord[], promptUuid: string, hasCompletionSignal: (record: TranscriptRecord) => boolean): readonly TranscriptRecord[]; export {};