import { default as React } from 'react'; import { default as IInputProps } from './IInputProps'; import { InputType } from './types'; /** * Input component. * @param props {@link IInputProps} - Props for the Input component * @returns The rendered Input component * * @example * ```tsx * // Basic usage with default settings (text input) * function App() { * return ; * } * ``` * * @example * ```tsx * // Custom configuration with email input and description * function App() { * return ( * * ); * } * ``` * * @example * ```tsx * // Layout prop: horizontal layout (label next to input) * * ``` * * @example * ```tsx * // Layout prop: vertical layout (default - label above input) * * ``` * * @example * ```tsx * // Type prop: different input types * * * * * * * * ``` * * @example * ```tsx * // Controlled input with value and onChange * function App() { * const [value, setValue] = useState(''); * return ( * setValue(newValue)} * /> * ); * } * ``` * * @example * ```tsx * // Input with description * * ``` * * @example * ```tsx * // Disabled input * * ``` * * @example * ```tsx * // Input with icons * * * * ``` * * @example * ```tsx * // Input with prefix and suffix * * * * ``` * * @example * ```tsx * // Input with notice * * * * ``` * * @example * ```tsx * // Input with error message * * ``` * * @example * ```tsx * // Input with maxLength * * ``` * * @example * ```tsx * // Input with autoComplete * * ``` * * @example * ```tsx * // Input size variants * * * * ``` * * @example * ```tsx * // Input with event handlers * console.log('Input focused')} * onBlur={() => console.log('Input blurred')} * placeholder="Click me" * /> * ``` * * @example * ```tsx * // Custom configuration with email input and description * function App() { * return ( * * ); * } * ``` * */ declare const Input: { ({ ref, layout, label, id, type, value, inputMode, description, disabled, readOnly, name, placeholder, onChange, onFocus, onBlur, leftIcon, rightIcon, prefix, suffix, maxLength, autoComplete, errorMessage, notice, isNoticeRight, size, isError, ...props }: IInputProps & React.RefAttributes): React.ReactElement; displayName: string; }; export default Input;