import Database from 'better-sqlite3';
type Db = Database.Database;
export interface TranscriptExportOptions {
    now?: () => Date;
}
export interface TranscriptExportResult {
    path: string;
    conversationCount: number;
    messageCount: number;
    bytesWritten: number;
}
export declare class TranscriptExportLockedError extends Error {
    constructor(message: string);
}
export declare function exportProjectTranscript(db: Db, projectsRoot: string, projectId: string, options?: TranscriptExportOptions): TranscriptExportResult;
export {};
