import { type ServiceProviderId } from "./service-providers.js"; /** A provider whose credential this status checks. */ export type VoiceCredentialProvider = "builder" | "gemini" | "openai" | "groq" | "googleRealtime"; export interface VoiceProvidersStatus { /** * Builder's gateway accepts the request's credentials: an OAuth sign-in or * a stored key pair, the same resolver the voice and transcription routes use. */ builder: boolean; gemini: boolean; openai: boolean; groq: boolean; googleRealtime: boolean; browser: true; native: true; /** * The organization's Voice input choice (Settings › Infrastructure), tried * first by batch transcription when the user's own provider is auto. Null * when unset or outside an organization. */ orgProvider: ServiceProviderId<"voice"> | null; /** The organization choice could not be read; `orgProvider` is unknown, not unset. */ orgProviderLookupFailed?: true; /** * Providers whose credentials could not be read. Their flag is false because * it is unknown, not because nothing is configured. */ credentialLookupFailed?: VoiceCredentialProvider[]; } export declare function createVoiceProvidersStatusHandler(): import("h3").EventHandlerWithFetch>;