import React, { type CSSProperties, type DetailedHTMLProps, type InputHTMLAttributes, type LabelHTMLAttributes, type ReactNode, type TextareaHTMLAttributes } from "react"; import type { FrIconClassName, RiIconClassName } from "./fr/generatedFromCss/classNames"; export type InputProps = InputProps.RegularInput | InputProps.TextArea; export declare namespace InputProps { type Common = { className?: string; id?: string; label: ReactNode; hintText?: ReactNode; hideLabel?: boolean; /** default: false */ disabled?: boolean; iconId?: FrIconClassName | RiIconClassName; classes?: Partial>; style?: CSSProperties; /** Default: "default" */ state?: "success" | "error" | "info" | "default"; /** The message won't be displayed if state is "default" */ stateRelatedMessage?: ReactNode; addon?: ReactNode; action?: ReactNode; }; type RegularInput = Common & { /** Default: false */ textArea?: false; /** Props forwarded to the underlying element */ nativeInputProps?: DetailedHTMLProps, HTMLInputElement>; /** Props forwarded to the underlying