import * as _saraudio_core_json from '@saraudio/core/json'; import { UrlBuilder, Transport } from '@saraudio/core'; import { Logger } from '@saraudio/utils'; import { z } from 'zod'; /** Soniox официальные модели (полные имена для API). */ declare const SONIOX_REALTIME_MODELS: readonly ["stt-rt-v3"]; declare const SONIOX_ASYNC_MODELS: readonly ["stt-async-v3"]; type SonioxRealtimeModelId = (typeof SONIOX_REALTIME_MODELS)[number]; type SonioxAsyncModelId = (typeof SONIOX_ASYNC_MODELS)[number]; type SonioxModelId = SonioxRealtimeModelId | SonioxAsyncModelId; declare const SONIOX_MODEL_DEFINITIONS: Record; type TokenProvider = () => Promise; type HeadersCallback = (ctx: { transport: Transport; }) => Record | Promise>; declare const SonioxModelIdSchema: z.ZodCustom; declare const SonioxOptionsSchema: z.ZodObject<{ auth: z.ZodOptional>; token: z.ZodOptional; apiKey: z.ZodOptional; }, z.core.$strict>>; baseUrl: z.ZodOptional]>>; query: z.ZodOptional>>; headers: z.ZodOptional, z.ZodCustom]>>; wsProtocols: z.ZodOptional>; wsKeepaliveMs: z.ZodOptional; logger: z.ZodOptional>; model: z.ZodCustom; sampleRate: z.ZodOptional; channels: z.ZodOptional, z.ZodLiteral<2>]>>; audioFormat: z.ZodOptional; languageHints: z.ZodOptional>; languageHintsStrict: z.ZodOptional; translation: z.ZodOptional; targetLanguage: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"two_way">; languageA: z.ZodString; languageB: z.ZodString; }, z.core.$strict>]>>; diarization: z.ZodOptional; endpointDetection: z.ZodOptional; languageIdentification: z.ZodOptional; queueBudgetMs: z.ZodOptional; }, z.core.$loose>; type SonioxOptions = z.infer; declare const SonioxOverridesSchema: z.ZodObject<{ auth: z.ZodOptional; apiKey: z.ZodOptional; }, z.core.$strict>>; baseUrl: z.ZodOptional; query: z.ZodOptional>>; headers: z.ZodOptional>; wsProtocols: z.ZodOptional>; wsKeepaliveMs: z.ZodOptional; logger: z.ZodOptional; model: z.ZodOptional>; sampleRate: z.ZodOptional; channels: z.ZodOptional, z.ZodLiteral<2>]>>; audioFormat: z.ZodOptional; languageHints: z.ZodOptional>; languageHintsStrict: z.ZodOptional; translation: z.ZodOptional; targetLanguage: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"two_way">; languageA: z.ZodString; languageB: z.ZodString; }, z.core.$strict>]>>; diarization: z.ZodOptional; endpointDetection: z.ZodOptional; languageIdentification: z.ZodOptional; queueBudgetMs: z.ZodOptional; }, z.core.$catchall>>>; type SonioxOverrides = z.infer; declare const DEFAULT_SONIOX_OVERRIDES: SonioxOverrides; export { DEFAULT_SONIOX_OVERRIDES as D, type SonioxOptions as S, type SonioxAsyncModelId as a, type SonioxModelId as b, type SonioxRealtimeModelId as c, SONIOX_ASYNC_MODELS as d, SONIOX_MODEL_DEFINITIONS as e, SONIOX_REALTIME_MODELS as f, SonioxModelIdSchema as g, SonioxOptionsSchema as h, SonioxOverridesSchema as i, type SonioxOverrides as j };