import { default as React } from 'react'; import { InputType } from '../input'; import { default as ISimpleInputProps } from './ISimpleInputProps'; /** * SimpleInput — a bare input element with no built-in label, description, or error message UI. * * Use this with {@link Field}, {@link FieldLabel}, {@link FieldControl}, and {@link FieldDescription} * to build composable form controls. For the legacy all-in-one component, use {@link Input} instead. * * @param props {@link ISimpleInputProps} - Props for the SimpleInput component * @returns The rendered SimpleInput component * * @example * ```tsx * // Standalone usage (no label) * * ``` * * @example * ```tsx * // Composed with Field for full form control * * Email * * * * We'll never share your email. * * ``` * * @example * ```tsx * // Error state * * ``` * * @example * ```tsx * // Size variants * * * ``` * * @example * ```tsx * // File input * console.log(files)} * /> * ``` * * @example * ```tsx * // Phone input with IMask pattern * console.log(value)} * /> * ``` */ declare const SimpleInput: { ({ ref, id, type, value, inputMode, disabled, readOnly, name, placeholder, onChange, onFocus, onBlur, maxLength, autoComplete, size, isError, mask, ...props }: ISimpleInputProps & React.RefAttributes): React.ReactElement; displayName: string; }; export default SimpleInput;