import * as React from 'react'; import { Sizes, Colors, Variants } from '../../styles'; interface Props { label?: React.ReactNode; name: string; color: Colors; size: Sizes; variant: Variants; value?: string | number; onChange: (e: { target: { value: string; }; }) => void; type: 'text' | 'number' | 'password' | 'date'; error?: string; placeholder?: string; onKeyPress?: any; style?: React.CSSProperties; onSelect?: any; fullWidth?: boolean; ref?: any; readOnly?: boolean; } declare const TextInput: { (props: Props): JSX.Element; defaultProps: { size: string; color: string; variant: string; type: string; onChange: (e: any) => void; }; }; export default TextInput;