import type { WhisperProgressEvent, WhisperTranscriptionResult } from "./types.js";
export declare const OPENAI_DIARIZATION_CHUNK_SECONDS: number;
export declare function transcribeOpenAiMediaFileInChunks({ filePath, apiKey, env, totalDurationSeconds, onProgress, }: {
    filePath: string;
    apiKey: string;
    env: Record<string, string | undefined>;
    totalDurationSeconds: number | null;
    onProgress?: ((event: WhisperProgressEvent) => void) | null;
}): Promise<WhisperTranscriptionResult>;
export declare function isRetryableOpenAiError(error: unknown): boolean;
export declare function resolveOpenAiDiarizationChunkSeconds(totalDurationSeconds: number): number;
