import { ReactNode, MouseEvent, FocusEvent, KeyboardEvent } from 'react'; import { BaseProps, LabelAlignment } from '../types'; export interface PhoneInputValue { countryCode?: string; isoCode?: string; phone?: string; } export interface PhoneInputProps extends BaseProps { id?: string; name?: string; label?: ReactNode; labelAlignment?: LabelAlignment; hideLabel?: boolean; placeholder?: string; icon?: ReactNode; bottomHelpText?: ReactNode; required?: boolean; error?: ReactNode; disabled?: boolean; readOnly?: boolean; tabIndex?: number | string; onClick?: (event: MouseEvent) => void; onFocus?: (event: FocusEvent) => void; onBlur?: (event: FocusEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; onChange?: (value: PhoneInputValue) => void; value?: PhoneInputValue; countries?: Array; } export default function(props: PhoneInputProps): JSX.Element | null;