import { default as Database } from 'better-sqlite3'; import { Artifact, RawTranscriptData } from './types.js'; /** * Manages artifacts (raw transcripts, future types) stored in the transcript */ export declare class ArtifactManager { private db; constructor(db: Database.Database); /** * Add an artifact to the transcript */ addArtifact(type: string, data: Buffer | null, metadata?: Record): number; /** * Get an artifact by type (returns most recent) */ getArtifact(type: string): Artifact | null; /** * Get all artifacts of a specific type */ getArtifactsByType(type: string): Artifact[]; /** * Get all artifacts */ getAllArtifacts(): Artifact[]; /** * Delete an artifact by ID */ deleteArtifact(id: number): boolean; /** * Check if an artifact type exists */ hasArtifact(type: string): boolean; /** * Set the raw transcript (from Whisper) * This is a write-once operation - raw transcripts don't change */ setRawTranscript(data: RawTranscriptData): number; /** * Get the raw transcript */ getRawTranscript(): RawTranscriptData | null; /** * Check if raw transcript exists */ hasRawTranscript(): boolean; } //# sourceMappingURL=artifacts.d.ts.map