/** * Render engine messages to a compact plain-text transcript for the compactor * window, and account their tokens. Reuses the existing context-xray token * accounting so OM thresholds match what the rest of the framework counts. */ import type { EngineMessage } from "../engine/types.js"; /** Flatten one engine message to a single labeled line block. */ export declare function messageToText(message: EngineMessage): string; /** Render a contiguous window of messages to one text blob. */ export declare function windowToText(messages: EngineMessage[]): string; /** Token count for a window of messages (reuses framework tokenizer). */ export declare function countWindowTokens(messages: EngineMessage[]): Promise; //# sourceMappingURL=message-text.d.ts.map