import { CSSProperties, InputHTMLAttributes } from 'react'; import { Wrapper, Label, InputWrap } from './Input.styles'; import { FieldVariant } from '../../styles/borderedField'; export interface InputProps extends Omit, 'value'> { id: string; name?: string; /** Floating label above the field. */ label?: string; value?: string | number; /** Shown as an error state once `touched` is true (a Formik error string works too). */ error?: boolean | string; touched?: boolean; /** Light text and border, for dark backgrounds. */ inverted?: boolean; /** Dashboard styling. */ dashboard?: boolean; /** Lets a long label wrap over several lines. */ autoHeightLabel?: boolean; inputWrapStyle?: CSSProperties; wrapperStyle?: CSSProperties; /** `bordered`: boxed field with a static label above (sign-up redesign). Default keeps the floating-label look. */ variant?: FieldVariant; } /** Text input with a floating label, built for Formik (`onChange`/`onBlur` receive the event). */ declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element; export { Input, Wrapper as InputWrapper, Label as InputLabel, InputWrap };