export declare const ASR_BACKEND_IDS: readonly ['web-speech', 'local-whisper', 'cloud-openai']; export type AsrBackendId = typeof ASR_BACKEND_IDS[number]; export declare const CLOUD_ASR_PROVIDER_IDS: readonly ['groq', 'deepgram', 'bailian', 'tencent', 'mimo', 'siliconflow', 'volcengine', 'custom']; export type CloudAsrProviderId = typeof CLOUD_ASR_PROVIDER_IDS[number]; export declare const SILICONFLOW_DEFAULT_MODEL = "FunAudioLLM/SenseVoiceSmall"; /** SiliconFlow `/models` filter that limits the catalog to transcription models. */ export declare const SILICONFLOW_ASR_SUB_TYPE = "speech-to-text"; /** Volcano Engine ASR service ids; the realtime service is one-way streaming recognition. */ export declare const VOLCENGINE_ASR_SERVICE_IDS: readonly ['recording-file', 'realtime']; export type VolcengineAsrServiceId = typeof VOLCENGINE_ASR_SERVICE_IDS[number]; export declare const VOLCENGINE_ASR_DEFAULT_SERVICE: VolcengineAsrServiceId; /** `X-Api-Resource-Id` values for one-way streaming recognition; `request.model_name` stays `bigmodel`. The concurrency-billed variants are not exposed: single-user dictation has no concurrency pool to draw on. */ export declare const VOLCENGINE_REALTIME_MODEL_IDS: readonly ['volc.seedasr.sauc.duration', 'volc.bigasr.sauc.duration']; export type VolcengineRealtimeModelId = typeof VOLCENGINE_REALTIME_MODEL_IDS[number]; export declare const VOLCENGINE_REALTIME_DEFAULT_MODEL: VolcengineRealtimeModelId; /** Volcano Engine speech API host; shared by the adapter and the registry display endpoint. */ export declare const VOLCENGINE_API_HOST = "openspeech.bytedance.com"; /** `X-Api-Resource-Id` values for big-model recording file recognition. */ export declare const VOLCENGINE_RECORDING_MODEL_IDS: readonly ['volc.seedasr.auc', 'volc.bigasr.auc']; export type VolcengineRecordingModelId = typeof VOLCENGINE_RECORDING_MODEL_IDS[number]; export declare const VOLCENGINE_RECORDING_DEFAULT_MODEL: VolcengineRecordingModelId; export declare const MIMO_DEFAULT_MODEL = "mimo-v2.5-asr"; export declare const MIMO_ASR_SERVICE_IDS: readonly ['api', 'token-plan']; export type MimoAsrServiceId = typeof MIMO_ASR_SERVICE_IDS[number]; export declare const MIMO_ASR_DEFAULT_SERVICE: MimoAsrServiceId; export declare const MIMO_ASR_CLUSTERS: readonly ['cn', 'sgp', 'ams']; export type MimoAsrClusterId = typeof MIMO_ASR_CLUSTERS[number]; export declare const MIMO_ASR_DEFAULT_CLUSTER: MimoAsrClusterId; /** Derive the transcription endpoint for a MiMo access method + cluster (client-safe, no Node globals). */ export declare function mimoEndpoint(service: string, cluster: string): string; export declare const DEEPGRAM_DEFAULT_MODEL = "nova-3"; export declare const DEEPGRAM_ASR_SERVICE_IDS: readonly ['recording-file', 'realtime']; export type DeepgramAsrServiceId = typeof DEEPGRAM_ASR_SERVICE_IDS[number]; export declare const DEEPGRAM_ASR_DEFAULT_SERVICE: DeepgramAsrServiceId; export declare const BAILIAN_MAX_RECORDING_SECONDS = 300; export declare const TENCENT_DEFAULT_ENGINE = "16k_zh"; export declare const TENCENT_ASR_SERVICE_IDS: readonly ['recording-file', 'realtime']; export type TencentAsrServiceId = typeof TENCENT_ASR_SERVICE_IDS[number]; export declare const TENCENT_ASR_DEFAULT_SERVICE: TencentAsrServiceId; export declare const WHISPER_MODEL_IDS: readonly ['tiny', 'base', 'small', 'medium', 'large', 'turbo']; export type WhisperModelId = typeof WHISPER_MODEL_IDS[number]; export declare const WHISPER_ACCELERATION_IDS: readonly ['default', 'vulkan', 'cuda']; export type WhisperAccelerationId = typeof WHISPER_ACCELERATION_IDS[number]; export interface RecognitionSettings { backend: AsrBackendId | string; webSpeech: { language: string; }; localWhisper: { model: WhisperModelId | string; /** `default` is the Host-selected automatic native variant. */ acceleration: WhisperAccelerationId | string; language: string; }; cloudProvider: CloudAsrProviderId | string; maxRecordingSeconds: number; } export declare const DEFAULT_RECOGNITION_SETTINGS: RecognitionSettings; export declare function isValidRecordingLimit(value: number): boolean; /** Empty Web Speech recognition language follows the dsh English/中文 locale. A typed value wins. */ export declare function languageFromUiLocale(locale: string): string; export declare function effectiveRecognitionLanguage(stored: string, uiLocale: string): string; export declare function effectiveRecordingSeconds(settings: Pick): number;