import { ChangeEvent, KeyboardEvent } from 'react';
export type TTextInputProps = {
    placeholder?: string;
    variant?: 'primary' | 'primary-invert';
    handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
    handleKeyDown?: (e: KeyboardEvent<HTMLElement>) => 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;
};
export declare const TextInput: ({ placeholder, variant, handleChange, handleKeyDown, disabled, buttonText, onButtonClick, error, errorText, active, value, label, type, showButton, }: TTextInputProps) => import("react/jsx-runtime").JSX.Element;
