import type { SofyaGatewayTimings } from "../../sofyaGatewayConfig"; /** * Sofya gateway recipe: endpoint (with `transcription_language`), stable * external_id and timings. The Single-use token strategy stays a `getToken` * function; the adapter calls it once per WebSocket open. */ export interface SofyaGatewayPlan { variant: "sofya_gateway"; providerIdentity: "sofya_gateway"; realtimeUrl: string; language?: string; externalId?: string; /** Forwarded to the gateway as the `record` query parameter when set. */ record?: boolean; auth: { type: "single_use_token"; getToken: () => Promise; }; timings: SofyaGatewayTimings; debug?: boolean | { enabled?: boolean; }; } export interface SofyaGatewayConnectionInput { mode?: unknown; endpoint?: unknown; config?: Record; } /** Parses a Direct mode gateway connection; only allowlisted fields are copied. */ export declare const parseSofyaGatewayPlan: (connection: SofyaGatewayConnectionInput) => SofyaGatewayPlan; //# sourceMappingURL=sofyaGateway.d.ts.map