import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Optional STT (speech-to-text) VAD configuration for the voice session. */ export type SttConfig = { /** * Server-side VAD silence timeout in ms (100–5000). Controls how long to wait after silence before finalizing speech. */ silenceTimeoutMs?: number | undefined; /** * Timeout in ms before any speech is detected (1000–30000). */ initialSilenceTimeoutMs?: number | undefined; }; /** @internal */ export declare const SttConfig$inboundSchema: z.ZodType; /** @internal */ export type SttConfig$Outbound = { silence_timeout_ms?: number | undefined; initial_silence_timeout_ms?: number | undefined; }; /** @internal */ export declare const SttConfig$outboundSchema: z.ZodType; export declare function sttConfigToJSON(sttConfig: SttConfig): string; export declare function sttConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sttconfig.d.ts.map