import type { Transport } from "../transport"; export type TwilioOutboundTransportOptions = { /** Twilio Account SID (starts with `AC...`). Env: `TWILIO_ACCOUNT_SID`. */ accountSid: string; /** Twilio Auth Token. Env: `TWILIO_AUTH_TOKEN`. */ authToken: string; /** E.164 number to call FROM — must be a voice-capable number on your Twilio account. */ from: string; /** E.164 number to call TO — the bot you want to test. */ to: string; /** * Public HTTPS URL Twilio can reach to fetch TwiML + open the Media * Stream. The transport hosts a local server; this URL must proxy to it. * Examples: `https://abc.ngrok.io`, `https://your-app.fly.dev`, * `https://.absolutejs.io` (AbsoluteJS built-in tunnel). * No trailing slash. */ publicUrl: string; /** Local port to bind the TwiML + WS server. Default 3344. */ port?: number; /** Twilio REST API base URL (override only for testing). */ apiBaseUrl?: string; /** Optional: enable Twilio call recording (separate from voice-tester's STT). */ recordCall?: boolean; }; /** * Bring up the local TwiML+WS server, POST to Twilio to originate the * outbound call, and resolve a Transport once Twilio opens the Media Stream * and sends its `start` event. The transport's `ready` promise covers that * full handshake. */ export declare const twilioOutboundTransport: (options: TwilioOutboundTransportOptions) => Promise; //# sourceMappingURL=twilioOutbound.d.ts.map