import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import * as ElevenLabs from "../../../../../index";
export declare namespace TwilioClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class TwilioClient {
    protected readonly _options: NormalizedClientOptions<TwilioClient.Options>;
    constructor(options?: TwilioClient.Options);
    /**
     * Handle an outbound call via Twilio
     *
     * @param {ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost} request
     * @param {TwilioClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.twilio.outboundCall({
     *         agentId: "agent_id",
     *         agentPhoneNumberId: "agent_phone_number_id",
     *         toNumber: "to_number"
     *     })
     */
    outboundCall(request: ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.TwilioOutboundCallResponse>;
    private __outboundCall;
    /**
     * Register a Twilio call and return TwiML to connect the call
     *
     * @param {ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost} request
     * @param {TwilioClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.twilio.registerCall({
     *         agentId: "agent_id",
     *         fromNumber: "from_number",
     *         toNumber: "to_number"
     *     })
     */
    registerCall(request: ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<void>;
    private __registerCall;
}
