import { ChatEntry } from '../agent/codebuddy-agent.js';
export interface ExportOptions {
    format?: 'markdown' | 'json' | 'text';
    includeToolResults?: boolean;
    includeTimestamps?: boolean;
    outputPath?: string;
}
/**
 * Conversation Export Utility
 * Saves chat conversations to files in various formats
 */
export declare class ConversationExporter {
    private outputDir;
    constructor(outputDir?: string);
    private ensureOutputDir;
    /**
     * Generate a default filename based on timestamp
     */
    private generateFilename;
    /**
     * Export conversation to markdown format
     */
    private toMarkdown;
    /**
     * Export conversation to JSON format
     */
    private toJSON;
    /**
     * Export conversation to plain text format
     */
    private toText;
    /**
     * Export conversation to file
     */
    export(entries: ChatEntry[], options?: Partial<ExportOptions>): {
        success: boolean;
        filePath?: string;
        error?: string;
    };
    /**
     * List saved conversations
     */
    listSavedConversations(): Array<{
        filename: string;
        path: string;
        size: string;
        date: Date;
    }>;
    private formatBytes;
}
export declare function getConversationExporter(): ConversationExporter;
export declare function resetConversationExporter(): void;
