import type { ComponentProps, ReactNode } from 'react'; import type { FieldSize } from '../internal/Field'; export type InputSize = FieldSize; export interface InputProps extends Omit, 'size'> { /** Height 32 / 40 / 48px — the same scale as Button. */ size?: InputSize; /** Visible label, associated with the input. */ label?: ReactNode; /** Help text under the input, linked with `aria-describedby`. */ description?: ReactNode; /** Invalid state. A message replaces the description; `true` keeps it. */ error?: ReactNode | boolean; /** Decorative icon at the start of the box (hidden from assistive tech). */ leftIcon?: ReactNode; /** Decorative icon at the end of the box (hidden from assistive tech). */ rightIcon?: ReactNode; } /** Single-line text field with label, description and error built in. */ export declare function Input({ size, label, description, error, leftIcon, rightIcon, id, className, disabled, required, 'aria-describedby': describedBy, ...rest }: InputProps): import("react").JSX.Element;