import type { TranscriptionSegment } from "./types.js";
type Env = Record<string, string | undefined>;
export type DeepgramTranscriptionResult = {
    text: string | null;
    segments: TranscriptionSegment[] | null;
};
type DeepgramOptions = {
    fetchImpl?: typeof fetch;
    baseUrl?: string;
    env?: Env;
    model?: string | null;
    timeoutMs?: number;
};
export declare function transcribeWithDeepgram(bytes: Uint8Array, mediaType: string, apiKey: string, options?: DeepgramOptions): Promise<DeepgramTranscriptionResult>;
export declare function transcribeFileWithDeepgram({ filePath, mediaType, apiKey, ...options }: {
    filePath: string;
    mediaType: string;
    apiKey: string;
} & DeepgramOptions): Promise<DeepgramTranscriptionResult>;
export declare function parseDeepgramResponse(payload: unknown): DeepgramTranscriptionResult;
export {};
