import type { Message, Provider } from "@kenkaiiii/gg-ai";
import type { SessionManager } from "./session-manager.js";
export declare function appendMessagesToSession(sessionManager: SessionManager, sessionPath: string, messages: readonly Message[], startIndex?: number): Promise<void>;
export declare function createCompactedSessionCheckpoint(sessionManager: SessionManager, options: {
    cwd: string;
    provider: Provider;
    model: string;
    messages: readonly Message[];
}): Promise<{
    path: string;
    id: string;
}>;
export declare function getRestoredMessagesForDisplay(messages: readonly Message[]): Message[];
export declare function formatRestoreInfoText(originalCount: number, restoredCount: number): string;
//# sourceMappingURL=session-compaction.d.ts.map