import type { DiarizationPreference, WhisperProgressEvent, WhisperTranscriptionResult } from "./types.js";
type Env = Record<string, string | undefined>;
type MediaRequest = {
    groqApiKey: string | null;
    assemblyaiApiKey?: string | null;
    elevenlabsApiKey?: string | null;
    geminiApiKey?: string | null;
    openaiApiKey: string | null;
    falApiKey: string | null;
    deepgramApiKey?: string | null;
    diarization?: DiarizationPreference | null;
    totalDurationSeconds?: number | null;
    onProgress?: ((event: WhisperProgressEvent) => void) | null;
    env?: Env;
};
export declare function transcribeMediaWithWhisper({ bytes, mediaType, filename, groqApiKey, skipGroq, assemblyaiApiKey, elevenlabsApiKey, geminiApiKey, openaiApiKey, falApiKey, deepgramApiKey, diarization, totalDurationSeconds, onProgress, env, }: {
    bytes: Uint8Array;
    mediaType: string;
    filename: string | null;
    skipGroq?: boolean;
} & MediaRequest): Promise<WhisperTranscriptionResult>;
export declare function transcribeMediaFileWithWhisper({ filePath, mediaType, filename, groqApiKey, assemblyaiApiKey, elevenlabsApiKey, geminiApiKey, openaiApiKey, falApiKey, deepgramApiKey, diarization, segmentSeconds, totalDurationSeconds, onProgress, env, }: {
    filePath: string;
    mediaType: string;
    filename: string | null;
    segmentSeconds?: number;
} & MediaRequest): Promise<WhisperTranscriptionResult>;
export {};
