/**
 * OpenAI-compatible `/audio/transcriptions` helper for STT providers and extensions.
 */
import type { AudioTranscriptionRequest, AudioTranscriptionResult, MediaUnderstandingProvider } from './types.js';
type OpenAiCompatibleAudioParams = AudioTranscriptionRequest & {
    defaultBaseUrl: string;
    defaultModel: string;
    provider?: string;
    label?: string;
};
export declare function resolveAudioTranscriptionUploadFileName(fileName?: string, mime?: string): string;
export declare function buildAudioTranscriptionFormData(params: {
    buffer: Buffer;
    fileName?: string;
    mime?: string;
    fields?: Record<string, string | number | boolean | undefined>;
}): FormData;
export declare function transcribeOpenAiCompatibleAudio(params: OpenAiCompatibleAudioParams): Promise<AudioTranscriptionResult>;
export interface OpenAiCompatibleAudioProviderOptions {
    id: string;
    aliases?: readonly string[];
    envKey?: string;
    defaultBaseUrl: string;
    defaultModel: string;
    autoPriority?: number;
    label?: string;
}
/** Factory for OpenAI `/audio/transcriptions`-compatible STT extension providers. */
export declare function createOpenAiCompatibleAudioProvider(options: OpenAiCompatibleAudioProviderOptions): MediaUnderstandingProvider;
export declare function registerOpenAiCompatibleAudioProvider(options: OpenAiCompatibleAudioProviderOptions): () => void;
export {};
