import type { LanguageModelUsage } from "ai";
import type { StoredMessage } from "./types.js";
export interface CapturedSession {
    messages: StoredMessage[];
    usage: LanguageModelUsage;
}
/**
 * Capture full session data for debugging compaction failures.
 * Sessions are saved to {rootDir}/.superblocks/captured-sessions/
 *
 * @param data - The session data to capture
 * @param rootDir - The app root directory
 */
export declare function captureSession(data: {
    messages: StoredMessage[];
    usage: LanguageModelUsage;
}, rootDir: string): string | null;
//# sourceMappingURL=session-capture.d.ts.map