import type { ModelMessage } from "ai";
export declare const COMPACTION_CHECKPOINT_MARKER = "Summary of our conversation so far:";
export interface CompactionPrompt {
    readonly prompt: string;
    readonly system: string;
}
/** Static prompt text added around checkpoint and conversation content. */
export declare const COMPACTION_PROMPT_ENVELOPE: {
    prompt: string;
    system: string;
};
/** Builds the compaction model input from framework-owned checkpoint state and older messages. */
export declare function createCompactionPrompt(input: {
    readonly messages: readonly ModelMessage[];
    readonly previousCheckpoint: string | undefined;
}): CompactionPrompt;
