import { Size } from '../../types'; export type OmitInputProps = 'disabled' | 'required' | 'size' | 'id' | 'readOnly'; export interface InputProps extends Omit, OmitInputProps> { /** * Control size of input. `sm` and `md` share the same visual size * ("Medium" in the design system); only `lg` ("Big") differs. */ size: Size; /** * Type of input (text, password, ..) */ type: string; /** * Change text of placeholder */ placeholder?: string; /** * Disabled status */ disabled?: boolean; /** * @deprecated Validation icons no longer render inside the field — * this prop has no effect and will be removed in a future major version. */ noValidationIcon?: boolean; /** * Optional class for styling purpose */ className?: string; /** * Show count of characters */ showCounter?: boolean; /** * Browser autocomplete feature */ autoComplete?: string; /** * Show a built-in clear (×) button while the field is focused. Opt-in: * several consumers render their own clear affordance already (e.g. * `SearchBar`), and a broad audit of every `Input` usage hasn't been done * yet — see INPUT-MIGRATION-PLAN.md §07. */ clearable?: boolean; } /** * Input Form Component */ declare const Input: import('react').ForwardRefExoticComponent & import('react').RefAttributes>; export default Input;