import type { ChangeEvent, ComponentType, InputHTMLAttributes, Ref } from 'react'; import type { DescriptionProps } from '../Description'; type PhoneInputLabelProps = { disabled?: boolean; error?: string; ref?: Ref; }; type InputProps = Partial, 'aria-label' | 'aria-labelledby' | 'aria-live' | 'aria-describedby' | 'disabled' | 'id' | 'name' | 'onBlur' | 'onFocus' | 'placeholder' | 'readOnly'>> & Partial; type PhoneInputProps = PhoneInputLabelProps & { 'data-testid'?: string | null; value?: string; label?: string; required?: boolean; tooltip?: string; className?: string; defaultCountry?: string; onChange?: (event: ChangeEvent) => void; error?: string; onParsingError?: ({ error, inputValue }: { error: Error; inputValue: string; }) => void; disableAutoFormat?: boolean; onValueChange?: (value: { inputValue: string; formatted: string; country: string | null; valid: boolean; e164: string | null; international: string | null; }) => void; } & InputProps; type PhoneInputType = ComponentType; export declare const PhoneInput: PhoneInputType; export {}; //# sourceMappingURL=index.d.ts.map