import type { ToolCallId } from "../../app/events/app-event.js"; import { type TranscriptState } from "./transcript-types.js"; export type ToolOutputLookup = (toolCallId: ToolCallId) => string; export declare function serializeTranscriptForCompaction(state: TranscriptState, toolOutput?: ToolOutputLookup): string; export declare function mergeCompactionSourceMaterial(sessionTranscript: string | undefined, olderModelTurns: string): string;