/** * Build a compact text transcript from agent messages for derive/evaluate. * Works backwards from the newest message so the most recent context survives * the char cap (same approach as pi-memory's serializer). */ export interface TranscriptResult { /** Formatted transcript, oldest included message first. */ text: string; /** Count of text-bearing messages dropped because of the char cap. */ omitted: number; } /** * Build the transcript and report how many text-bearing messages were dropped * to fit the cap. The evaluator uses `omitted` to decide whether to warn that * evidence may live in the truncated prefix (see buildTruncationNote). */ export declare function buildTranscriptWithMeta(messages: unknown[], maxChars: number): TranscriptResult; export declare function buildTranscript(messages: unknown[], maxChars: number): string; export declare function extractText(content: unknown): string; //# sourceMappingURL=transcript.d.ts.map