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 { renderMode: ModeType; value?: PhoneValue; onChange?: (value: PhoneValue) => void; returnFormat?: 'string' | 'object'; inputRef?: any; } declare const PhoneNumberInputWithMode: React.FC; export default PhoneNumberInputWithMode;