import React from 'react';
import { InputProps } from 'antd';
import { ModeType } from "../../dataSourceForm/type";
declare type PhoneValue = string | {
    phone: string;
    countryCallingCode: string;
};
export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
    renderMode: ModeType;
    value?: PhoneValue;
    onChange?: (value: PhoneValue) => void;
    returnFormat?: 'string' | 'object';
    inputRef?: any;
}
declare const PhoneNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
export default PhoneNumberInputWithMode;
