import type { Message } from './types.js';
export type ExportFormat = 'md' | 'json' | 'txt';
/**
 * Format messages as Markdown with nice headers and code block preservation.
 */
export declare function formatAsMarkdown(messages: Message[]): string;
/**
 * Format messages as JSON.
 */
export declare function formatAsJSON(messages: Message[]): string;
/**
 * Format messages as plain text with minimal formatting.
 */
export declare function formatAsText(messages: Message[]): string;
/**
 * Format messages in the specified format.
 */
export declare function formatMessages(messages: Message[], format: ExportFormat): string;
/**
 * Save exported conversation to a file in the current working directory.
 */
export declare function saveExport(messages: Message[], format: ExportFormat): string;
