/** * Leaper Agent – Transcription Tool * Multi-provider audio/video transcription with Whisper, Groq, OpenAI, etc. */ import type { ToolDefinition } from './registry.js'; export type TranscriptionProvider = 'local' | 'groq' | 'openai' | 'mistral' | 'auto'; export interface TranscriptionOptions { file_path: string; provider?: TranscriptionProvider; language?: string; prompt?: string; timestamps?: boolean; diarize?: boolean; } export interface TranscriptionSegment { start: number; end: number; text: string; speaker?: string; } export interface TranscriptionResult { success: boolean; text?: string; segments?: TranscriptionSegment[]; language?: string; duration?: number; provider?: string; error?: string; } export declare function isSupportedAudioFile(filePath: string): boolean; export declare function detectTranscriptionProvider(): TranscriptionProvider; export declare function transcribeGroq(opts: TranscriptionOptions): Promise; export declare function transcribeOpenAI(opts: TranscriptionOptions): Promise; export declare function transcribeLocal(opts: TranscriptionOptions): Promise; export declare function transcribeAudio(opts: TranscriptionOptions): Promise; export declare function segmentsToSRT(segments: TranscriptionSegment[]): string; export declare function segmentsToVTT(segments: TranscriptionSegment[]): string; export declare const transcriptionTool: ToolDefinition; //# sourceMappingURL=transcription.d.ts.map