import type * as ElevenLabs from "../../../api/index"; export interface AgentDestinationOptions { /** Node in the destination agent's workflow to start from. */ nodeId?: string; } /** @internal */ export type DestinationModel = { type: "phone_number"; transferDestination: ElevenLabs.WorkflowPhoneNumberNodeModelInputTransferDestination; } | { type: "standalone_agent"; agentId?: string; nodeId?: string; }; /** Where a `transfer()` node hands the conversation off to. */ export declare class Destination { private readonly _model; private constructor(); /** A phone number in E.164 format. */ static phone(phoneNumber: string): Destination; /** A phone number read from a dynamic variable at transfer time. */ static phoneVariable(variableName: string): Destination; /** A SIP URI. */ static sip(sipUri: string): Destination; /** A SIP URI read from a dynamic variable at transfer time. */ static sipVariable(variableName: string): Destination; /** Another ElevenLabs agent. */ static agent(agentId: string, options?: AgentDestinationOptions): Destination; /** @internal */ toModel(): DestinationModel; }