import { z } from "zod"; export declare const VoiceEngineSchema: z.ZodEnum<{ cartesia: "cartesia"; deepgram: "deepgram"; elevenlabs: "elevenlabs"; kokoro: "kokoro"; piper: "piper"; }>; export type VoiceEngine = z.infer; export declare const CloudVoiceProviderSchema: z.ZodEnum<{ cartesia: "cartesia"; deepgram: "deepgram"; elevenlabs: "elevenlabs"; }>; export type CloudVoiceProvider = z.infer; export declare const isCloudVoiceEngine: (engine: VoiceEngine) => engine is CloudVoiceProvider; export declare const VOICE_ID: RegExp; export declare const VoiceIdSchema: z.ZodString; export type VoiceId = z.infer; export declare const voiceEngineOf: (id: VoiceId) => VoiceEngine; export declare const voiceNameOf: (id: VoiceId) => string; export declare const VoiceLanguageSchema: z.ZodString; export declare const CloudVoiceSchema: z.ZodObject<{ provider: z.ZodEnum<{ cartesia: "cartesia"; deepgram: "deepgram"; elevenlabs: "elevenlabs"; }>; secret: z.ZodString; model: z.ZodDefault; voice: z.ZodDefault; }, z.core.$strip>; export type CloudVoice = z.infer; export declare const VoiceSettingsSchema: z.ZodObject<{ replies: z.ZodDefault; interrupt: z.ZodDefault; speed: z.ZodDefault; voices: z.ZodDefault>; cloud: z.ZodOptional; secret: z.ZodString; model: z.ZodDefault; voice: z.ZodDefault; }, z.core.$strip>>; wake: z.ZodPrefault; }, z.core.$strip>>; }, z.core.$strip>; export type VoiceSettings = z.infer; export declare const VoiceInfoSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; languages: z.ZodArray; accent: z.ZodOptional; gender: z.ZodOptional>; model: z.ZodOptional; bytes: z.ZodOptional; installed: z.ZodOptional; }, z.core.$strip>; export type VoiceInfo = z.infer; export declare const VoicesViewSchema: z.ZodObject<{ voices: z.ZodArray; accent: z.ZodOptional; gender: z.ZodOptional>; model: z.ZodOptional; bytes: z.ZodOptional; installed: z.ZodOptional; }, z.core.$strip>>; defaults: z.ZodRecord; cloud: z.ZodOptional; ready: z.ZodBoolean; languages: z.ZodArray; }, z.core.$strip>>; provisioned: z.ZodBoolean; }, z.core.$strip>; export type VoicesView = z.infer; export declare const VoiceStatusSchema: z.ZodObject<{ voice: z.ZodString; model: z.ZodEnum<{ absent: "absent"; cloud: "cloud"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; export type VoiceStatus = z.infer; export declare const SpeakAsSchema: z.ZodEnum<{ plain: "plain"; read: "read"; reply: "reply"; }>; export type SpeakAs = z.infer; export declare const MAX_SPOKEN_TEXT = 40000; export declare const VoiceClientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"say">; id: z.ZodNumber; text: z.ZodString; as: z.ZodDefault>; lang: z.ZodOptional; voice: z.ZodOptional; asked: z.ZodOptional; conversationId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stop">; id: z.ZodNumber; }, z.core.$strip>], "type">; export type VoiceClientMessage = z.infer; export declare const VoiceServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"status">; id: z.ZodNumber; status: z.ZodObject<{ voice: z.ZodString; model: z.ZodEnum<{ absent: "absent"; cloud: "cloud"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"spoken">; id: z.ZodNumber; text: z.ZodString; lang: z.ZodString; voice: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; id: z.ZodNumber; sampleRate: z.ZodNumber; samples: z.ZodNumber; codec: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"done">; id: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"notice">; id: z.ZodNumber; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"error">; id: z.ZodOptional; message: z.ZodString; }, z.core.$strip>], "type">; export type VoiceServerMessage = z.infer; export declare const framedOpus: (packets: readonly Uint8Array[]) => Uint8Array; export declare const opusPackets: (frame: Uint8Array) => Uint8Array[]; //# sourceMappingURL=voice.d.ts.map