/**
 * Automatic Report Generator
 *
 * Generates post-session reports including:
 * - Session overview
 * - Changes made
 * - Tool usage
 * - Recommendations
 * - Export to multiple formats
 */
export interface ReportData {
    session: {
        id: string;
        startTime: Date;
        endTime: Date;
        durationMs: number;
        model: string;
        workingDirectory: string;
    };
    conversation: {
        messageCount: number;
        userMessages: number;
        assistantMessages: number;
        topics: string[];
    };
    changes: {
        filesCreated: string[];
        filesModified: string[];
        filesDeleted: string[];
        linesAdded: number;
        linesRemoved: number;
    };
    tools: {
        totalCalls: number;
        successfulCalls: number;
        failedCalls: number;
        byTool: Array<{
            name: string;
            calls: number;
            successRate: number;
            avgDurationMs: number;
        }>;
    };
    metrics: {
        inputTokens: number;
        outputTokens: number;
        totalTokens: number;
        estimatedCost: number;
    };
    checkpoints: {
        count: number;
        restorations: number;
    };
    errors: Array<{
        type: string;
        message: string;
        timestamp: Date;
    }>;
}
export type ReportFormat = 'markdown' | 'html' | 'json' | 'text';
/**
 * Generate a report from session data
 */
export declare function generateReport(data: ReportData, format?: ReportFormat): string;
/**
 * Save report to file
 */
export declare function saveReport(data: ReportData, outputPath: string, format?: ReportFormat): Promise<void>;
export default generateReport;
