import type { RealtimeConfig, RealtimeProvider } from "../../shared/voice.js"; export type { RealtimeConfig }; /** Provider names `createRealtimeProvider` accepts. */ export declare const REALTIME_PROVIDERS: readonly ["openai"]; /** * The voices the named provider offers, for a setup surface that wants to show * a picker instead of a text field. Empty for a provider this gateway does not * implement — the same answer `createRealtimeProvider` gives, in list form. */ export declare function realtimeProviderVoices(provider: string | undefined): readonly string[]; export declare class UnknownRealtimeProviderError extends Error { readonly provider: string | undefined; constructor(provider: string | undefined); } /** * Build the provider named by the `realtime` config block. `apiKey` may be a * `${ENV_VAR}` reference, so the key can live in the environment rather than in * config.yaml. Throws {@link UnknownRealtimeProviderError} for a name we do not * implement, and a plain Error when the named provider is missing its key. */ export declare function createRealtimeProvider(config: RealtimeConfig): RealtimeProvider; /** * Whether {@link createRealtimeProvider} would succeed on this block. * * Answered by building one rather than by re-stating the rules, so the setup * surface can never drift from the factory it is describing — a provider name * this file does not implement and a `${ENV_VAR}` key whose variable is unset * both read as unconfigured, because both are what the factory refuses. * Construction opens no socket and mints nothing, so asking costs nothing. */ export declare function isRealtimeConfigured(config: RealtimeConfig): boolean; //# sourceMappingURL=index.d.ts.map