import React from "react";
import AddThreepid, { ThirdPartyIdentifier } from "../../../../AddThreepid";
interface IExistingPhoneNumberProps {
    msisdn: ThirdPartyIdentifier;
    onRemoved: (phoneNumber: ThirdPartyIdentifier) => void;
    /**
     * Disable removing phone number
     */
    disabled?: boolean;
}
interface IExistingPhoneNumberState {
    verifyRemove: boolean;
}
export declare class ExistingPhoneNumber extends React.Component<IExistingPhoneNumberProps, IExistingPhoneNumberState> {
    constructor(props: IExistingPhoneNumberProps);
    private onRemove;
    private onDontRemove;
    private onActuallyRemove;
    render(): React.ReactNode;
}
interface IProps {
    msisdns: ThirdPartyIdentifier[];
    onMsisdnsChange: (phoneNumbers: ThirdPartyIdentifier[]) => void;
    /**
     * Adding or removing phone numbers is disabled when truthy
     */
    disabled?: boolean;
}
interface IState {
    verifying: boolean;
    verifyError: string | null;
    verifyMsisdn: string;
    addTask: AddThreepid | null;
    continueDisabled: boolean;
    phoneCountry: string;
    newPhoneNumber: string;
    newPhoneNumberCode: string;
}
export default class PhoneNumbers extends React.Component<IProps, IState> {
    constructor(props: IProps);
    private onRemoved;
    private onChangeNewPhoneNumber;
    private onChangeNewPhoneNumberCode;
    private onAddClick;
    private onContinueClick;
    private onCountryChanged;
    render(): React.ReactNode;
}
export {};
