import type { ChatArchiveRecord } from '../../../../core/chat/types.js';
import type { ChatMessage } from '../../../../core/llm/types.js';
/**
 * Builds and detects the compacted-history marker message placed back into active chat history.
 *
 * This is not the LLM summarizer. It only shapes the synthetic system message
 * that points future turns at the rolling summary and archive files.
 */
export declare class ConversationCompactionSummaryMessage {
    static isSummary(message: ChatMessage): boolean;
    static extractPriorSummary(history: ChatMessage[]): string | undefined;
    static buildArchivedSummaryMessage(options: {
        sessionId: string;
        rollingSummary: string;
        archives: ChatArchiveRecord[];
    }): ChatMessage;
}
//# sourceMappingURL=summary-message.d.ts.map