import { z } from "zod"; export declare const SpeechEngineSchema: z.ZodEnum<{ parakeet: "parakeet"; whisper: "whisper"; }>; export type SpeechEngine = z.infer; export declare const PARAKEET_LANGUAGES: ReadonlySet; export declare const speechLanguage: (locale: string | undefined) => string | undefined; export declare const speechEngineFor: (locale: string | undefined) => SpeechEngine; export declare const SpeechStatusSchema: z.ZodObject<{ provisioned: z.ZodBoolean; model: z.ZodEnum<{ absent: "absent"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; engine: z.ZodOptional>; loaded: z.ZodOptional; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; export type SpeechStatus = z.infer; export declare const SpeechTranscriptSchema: z.ZodObject<{ text: z.ZodString; }, z.core.$strip>; export type SpeechTranscript = z.infer; export declare const SpeechClientMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"begin">; id: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"end">; id: z.ZodNumber; keep: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"drop">; id: z.ZodNumber; }, z.core.$strip>], "type">; export type SpeechClientMessage = z.infer; export declare const SpeechServerMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"status">; status: z.ZodObject<{ provisioned: z.ZodBoolean; model: z.ZodEnum<{ absent: "absent"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; engine: z.ZodOptional>; loaded: z.ZodOptional; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"partial">; id: z.ZodNumber; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"final">; id: z.ZodNumber; text: z.ZodString; decodeMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"error">; id: z.ZodOptional; message: z.ZodString; }, z.core.$strip>], "type">; export type SpeechServerMessage = z.infer; export declare const MAX_SPEECH_SAMPLES: number; export declare const WAKE_WORD_DEFAULT = "Leon"; export declare const WakeWordSchema: z.ZodString; export declare const WAKE_HOLD_MAX_MS: number; export declare const SpeechWakeClaimSchema: z.ZodObject<{ device: z.ZodString; holdMs: z.ZodOptional; }, z.core.$strip>; export type SpeechWakeClaim = z.infer; export declare const SpeechWakeGrantSchema: z.ZodObject<{ granted: z.ZodBoolean; }, z.core.$strip>; export type SpeechWakeGrant = z.infer; //# sourceMappingURL=speech.d.ts.map