import React from "react"; import { Size, TextInputMode, TextInputType } from "../../types"; type TextInputProps = Omit, "size" | "onChange" | "onBlur" | "onKeyDown"> & { label?: string; onChange?: (value: string) => void; onBlur?: () => void; onKeyDown?: (event: React.KeyboardEvent) => void; placeholder?: string; value?: string; name?: string; pattern?: string; type?: TextInputType; size?: Size; noBorder?: boolean; autoFocus?: boolean; inputRef?: React.RefObject; inputMode?: TextInputMode; }; declare function TextInput({ label, onChange, onBlur, onKeyDown, placeholder, value, name, pattern, inputRef, size, type, autoFocus, noBorder, inputMode, ...otherProps }: TextInputProps): JSX.Element; export default TextInput;