import type { BuildSessionCompactionRunningContextOptions, ConversationCompactionOptions, ConversationCompactionResult } from './types.js';
/**
 * Main compaction service.
 *
 * Owns archive-backed conversation history compaction. Supporting classes in
 * this folder own token estimates, split policy, summary message rendering,
 * summarizer prompting, and persisted context projection.
 */
export declare class ConversationCompactionService {
    static compact(options: ConversationCompactionOptions): Promise<ConversationCompactionResult>;
    static estimateTokens(history: ConversationCompactionOptions['history']): number;
    static isCompactedHistorySummary(message: ConversationCompactionOptions['history'][number]): boolean;
    static buildSessionRunningContext(options: BuildSessionCompactionRunningContextOptions): import("../../../../core/chat/types.js").ChatContextStats;
    private static buildUnchangedResult;
    private static compactArchivedSlice;
    private static buildArchiveRecord;
    private static buildCompactedResult;
    private static buildFailedResult;
    private static createArchiveRepository;
}
//# sourceMappingURL=service.d.ts.map