import { APIResource } from "../core/resource.js";
import * as IntrospectAPI from "./introspect.js";
import { APIPromise } from "../core/api-promise.js";
import { RequestOptions } from "../internal/request-options.js";
export declare class Introspect extends APIResource {
    /**
     * Validate a phone number and check if a WhatsApp conversation window is open.
     *
     * @example
     * ```ts
     * const response = await client.introspect.validatePhone({
     *   phoneNumber: '+56912345678',
     * });
     * ```
     */
    validatePhone(body: IntrospectValidatePhoneParams, options?: RequestOptions): APIPromise<IntrospectValidatePhoneResponse>;
}
/**
 * Type of phone line.
 */
export type LineType = 'mobile' | 'landline' | 'voip' | 'toll_free' | 'unknown';
export interface IntrospectValidatePhoneResponse {
    countryCode: string;
    phoneNumber: string;
    validNumber: boolean;
    /**
     * List of available messaging channels for this phone number.
     */
    availableChannels?: Array<string>;
    /**
     * Carrier information for the phone number.
     */
    carrier?: IntrospectValidatePhoneResponse.Carrier;
    /**
     * Type of phone line.
     */
    lineType?: LineType;
    /**
     * Phone number in national format.
     */
    nationalFormat?: string;
}
export declare namespace IntrospectValidatePhoneResponse {
    /**
     * Carrier information for the phone number.
     */
    interface Carrier {
        /**
         * Carrier name.
         */
        name?: string | null;
        /**
         * Type of phone line.
         */
        type?: IntrospectAPI.LineType;
    }
}
export interface IntrospectValidatePhoneParams {
    phoneNumber: string;
}
export declare namespace Introspect {
    export { type LineType as LineType, type IntrospectValidatePhoneResponse as IntrospectValidatePhoneResponse, type IntrospectValidatePhoneParams as IntrospectValidatePhoneParams, };
}
//# sourceMappingURL=introspect.d.ts.map