/** Wire-only tables of complete historical receipts. Original context events * remain authoritative for source selection, authorization and restoration. */ import type { ContextObjectPromptSegment } from "./context-object.js"; /** Only runtime-authored typed receipt labels are eligible; never parse headings * inside dialogue/provider content. Original context events remain untouched. * Keep contiguous tables when cheaper; interleaved rows retain their segment * identity, metadata, label and position with an in-prompt shared legend. * Cost: bounded passes over receipt text; no I/O, retrieval or model calls. */ export declare function compactHistoricalReceiptSegments(segments: ContextObjectPromptSegment[]): ContextObjectPromptSegment[];