/** * Transcript Registry * * SQLite-based registry for tracking uploaded transcripts. * Stores sessionId, file hash, and upload timestamp to detect * which transcripts have already been uploaded and whether * the content has changed. */ /** * Registry for tracking uploaded transcripts using SQLite */ export declare class TranscriptRegistry { private db; /** * Create a new TranscriptRegistry instance * * @param args - Configuration arguments * @param args.dbPath - Path to the SQLite database file */ constructor(args: { dbPath: string; }); /** * Check if a transcript has been uploaded with the given hash * * @param args - Configuration arguments * @param args.sessionId - The session ID to check * @param args.fileHash - The hash of the file content * * @returns True if already uploaded with the same hash, false otherwise */ isUploaded(args: { sessionId: string; fileHash: string; }): boolean; /** * Mark a transcript as uploaded * * @param args - Configuration arguments * @param args.sessionId - The session ID * @param args.fileHash - The hash of the file content * @param args.transcriptPath - The path to the transcript file */ markUploaded(args: { sessionId: string; fileHash: string; transcriptPath: string; }): void; /** * Close the database connection */ close(): void; } //# sourceMappingURL=transcriptRegistry.d.ts.map