import type { CodexConversionConfig } from "../../adapter/activation/config.ts"; import type { CodexVoiceAuth } from "../auth.ts"; import type { RealtimeInitialMessageItem } from "../context.ts"; import type { CodexRealtimePeer } from "./peer.ts"; /** Owns HTTP setup cancellation and the peer-ready handshake for this call. */ export declare class ConversationSetup { private setupAbortController; private peerReady; private callSetup; private readonly peer; private readonly isStarting; private readonly isActive; private readonly onActive; private readonly onStatus; constructor(peer: CodexRealtimePeer, isStarting: () => boolean, isActive: () => boolean, onActive: (muted: boolean) => void, onStatus: (status: string) => void); abort(): void; ready(): void; finish(): void; start(auth: CodexVoiceAuth, config: CodexConversionConfig, instructions: string, initialItems?: RealtimeInitialMessageItem[], inputMuted?: boolean): Promise; }