import React from 'react'; import DatePicker from './DatePicker'; import { CountrySelect } from './CountrySelect'; import { PhoneInput } from './PhoneInput'; type InputValue = string | Date; type NativeInputType = Exclude; type NativeInputProps = Omit, 'type' | 'value' | 'onChange'> & { type?: NativeInputType; value?: string | number | readonly string[]; onChange?: (value: InputValue) => void; onValueChange?: (value: InputValue) => void; label?: string; error?: string; hint?: string; leftIcon?: React.ReactNode; rightIcon?: React.ReactNode; animate?: boolean; }; type PhoneInputFieldProps = Omit, 'value' | 'onChange'> & { type: 'phone' | 'tel'; value?: string; onChange?: (value: InputValue) => void; onValueChange?: (value: InputValue) => void; }; type CountrySelectInputProps = Omit, 'value' | 'onChange'> & { type: 'country'; value?: string; onChange?: (value: InputValue) => void; onValueChange?: (value: InputValue) => void; }; type DatePickerInputProps = Omit, 'value' | 'onChange'> & { type: 'date' | 'time' | 'datetime-local'; value?: Date; onChange?: (value: InputValue) => void; onValueChange?: (value: InputValue) => void; }; export type InputProps = NativeInputProps | PhoneInputFieldProps | CountrySelectInputProps | DatePickerInputProps; export declare const Input: React.ForwardRefExoticComponent>; export {};