/**
 * STT config slice resolution — maps persisted config to per-provider raw config.
 *
 * Reads `tools.media.audio.providers.<id>` only — there is no legacy flat-key form.
 */
import type { STTConfig } from './types.js';
/** Built-in env fallbacks when config slice has no apiKey. */
export declare const STT_LEGACY_ENV_KEYS: Record<string, string>;
/** Collect provider-id → raw config entries from the `providers` map. */
export declare function collectSttProviderConfigEntries(config: Partial<STTConfig> | Record<string, unknown> | undefined): Record<string, Record<string, unknown>>;
/** Resolve the raw config slice for one provider id. */
export declare function resolveSttProviderConfigSlice(providerId: string, config: Partial<STTConfig> | Record<string, unknown> | undefined): Record<string, unknown>;
/** Read normalized provider fields from a config slice or model entry override. */
export declare function readSttProviderFields(slice: Record<string, unknown>, entryOverride?: Record<string, unknown>): {
    apiKey?: string;
    model?: string;
    baseUrl?: string;
    headers?: Record<string, string>;
    language?: string;
    prompt?: string;
};
