import { default as React, ChangeEvent, KeyboardEvent } from 'react'; export type TTextInputProps = { placeholder?: string; variant?: 'primary' | 'primary-invert'; handleChange?: (e: ChangeEvent) => void; handleKeyDown?: (e: KeyboardEvent) => void; disabled?: boolean; buttonText?: string; onButtonClick?: (value: string) => void; error?: boolean; errorText?: string; active?: boolean; value?: string; label?: string; type?: 'button' | 'submit' | 'reset'; showButton?: boolean; inputType?: React.HTMLInputTypeAttribute; inputMode?: React.HTMLAttributes['inputMode']; autoComplete?: string; maxLength?: number; }; export declare const TextInput: ({ placeholder, variant, handleChange, handleKeyDown, disabled, buttonText, onButtonClick, error, errorText, active, value, label, type, showButton, inputType, inputMode, autoComplete, maxLength, }: TTextInputProps) => React.JSX.Element;