import React from 'react'; import { BaseSkeletonProps } from '../Skeleton'; interface BaseProps extends React.HTMLAttributes { name: string; label: string; value: string; placeholder?: string; hideLabel?: boolean; animated?: boolean; error?: string; help?: string; type?: 'number' | 'text' | 'email' | 'tel' | 'password'; touched?: boolean; disabled?: boolean; condensed?: boolean; step?: string; onChange?: (event: React.ChangeEvent) => void; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; } interface SkeletonProps extends BaseSkeletonProps, BaseProps { skeleton?: boolean; } export type Props = BaseProps | SkeletonProps; declare const TextInput: React.ForwardRefExoticComponent>; export default TextInput;