import type * as React from 'react'; import type { HasAlign, HasDataAttribute, HasRootRef } from '../../types'; import { type FormFieldProps } from '../FormField/FormField'; export interface InputProps extends Pick, 'autoComplete' | 'autoCapitalize' | 'autoCorrect' | 'disabled' | 'list' | 'max' | 'maxLength' | 'min' | 'minLength' | 'multiple' | 'name' | 'pattern' | 'enterKeyHint' | 'placeholder' | 'readOnly' | 'required' | 'step' | 'type' | 'value' | 'form' | 'onChange' | 'onFocus' | 'onBlur'>, Omit, 'onChange' | 'onFocus' | 'onBlur'>, HasRootRef, HasAlign, Omit { /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ input: { getRootRef: ... } }`. */ getRef?: React.Ref | undefined; /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `input`: свойства для прокидывания в поле ввода. */ slotProps?: { root?: (React.HTMLAttributes & HasRootRef & HasDataAttribute) | undefined; input?: (React.InputHTMLAttributes & HasRootRef & HasDataAttribute) | undefined; } | undefined; } /** * @see https://vkui.io/components/input */ export declare const Input: ({ align, getRef, before, after, status, mode, autoComplete, autoCapitalize, autoCorrect, disabled, list, max, maxLength, min, minLength, multiple, name, pattern, enterKeyHint, placeholder, readOnly, required, step, type, value, onChange, onFocus, onBlur, form, id, inputMode, defaultValue, autoFocus, tabIndex, spellCheck, slotProps, ...restProps }: InputProps) => React.ReactNode; //# sourceMappingURL=Input.d.ts.map