import type { Ref } from 'react'; import type { BaseProps, ForwardRefForwardPropsComponent, NoChildrenProp, TestIdProp } from '../../types'; import type { FormControlProps } from '../FormControl'; type AutoFillTel = AutoFillBase | `${OptionalPrefixToken}${OptionalPrefixToken}${OptionalPrefixToken}tel`; export interface PhoneInputProps extends FormControlProps, BaseProps, NoChildrenProp, TestIdProp { /** * Display select with countries calling codes * @default false */ showCountryCode?: boolean; /** Changes lists of countries calling codes */ callingCodesList?: string[]; /** Callback fired on input value change */ onChange?: (value: string) => void; /** Callback fired when the component loses focus */ onBlur?: (value: string) => void; /** CCallback fired when the component gets focus */ onFocus?: (value: string) => void; /** Ref for the wrapping element. */ ref?: Ref; /** Flag defining autocompletion behavior. */ autoComplete?: AutoFillTel; } declare const _default: ForwardRefForwardPropsComponent & { getTestIds: (testIdProp?: TestIdProp["testId"]) => import("../../types").TestIdsRecord; }; export default _default; //# sourceMappingURL=PhoneInput.d.ts.map