/** Experimental GPT Live WebRTC call creation through the Codex backend. */ import { type AuthInput } from "./auth.js"; export declare const GPT_LIVE_MODEL = "gpt-live-1-boulder-alpha"; export declare const GPT_LIVE_CALLS_URL = "https://chatgpt.com/backend-api/codex/realtime/calls?intent=quicksilver&architecture=avas"; export declare const GPT_LIVE_VOICES: readonly ["cove", "juniper", "maple", "spruce", "ember", "vale", "breeze", "arbor", "sol"]; export type GptLiveVoice = (typeof GPT_LIVE_VOICES)[number]; export interface GptLiveCallOptions { sdp: string; voice?: GptLiveVoice | string; instructions?: string; signal?: AbortSignal; } export interface GptLiveCall { sdp: string; model: string; voice: string; location?: string; callId?: string; } export interface GptLiveCallServiceOptions { auth?: AuthInput; endpoint?: string; fetch?: typeof globalThis.fetch; timeoutMs?: number; model?: string; defaultVoice?: GptLiveVoice | string; defaultInstructions?: string; originator?: string; } export declare class GptLiveCallError extends Error { readonly status: number; readonly responseBody?: string; constructor(message: string, status: number, responseBody?: string); } export declare class GptLiveCallService { private readonly auth?; private readonly endpoint; private readonly fetchImpl; private readonly timeoutMs; private readonly model; private readonly defaultVoice; private readonly defaultInstructions?; private readonly originator; constructor(options?: GptLiveCallServiceOptions); createCall(options: GptLiveCallOptions): Promise; } //# sourceMappingURL=gpt-live.d.ts.map