import type { InputHTMLAttributes } from 'react';
import React from 'react';
interface TextInputProps extends InputHTMLAttributes {
onChange?: (event: React.ChangeEvent) => void;
onFocus?: (event: React.FocusEvent) => void;
onBlur?: (event: React.FocusEvent) => void;
onKeyDown?: (event: React.KeyboardEvent) => void;
clearable?: boolean;
onClear?: () => void;
}
export declare const TextInput: {
Root: {
({ id, children, className, error, disabled, readOnly }: import("../InputField/InputField").RootProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
Container: React.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & React.RefAttributes>;
Label: React.ForwardRefExoticComponent, HTMLLabelElement>, "ref"> & {
visuallyHidden?: boolean;
} & React.RefAttributes>;
Input: React.ForwardRefExoticComponent>;
Validation: React.ForwardRefExoticComponent<{
children: React.ReactNode;
className?: string;
variant?: "error" | "success" | "default";
} & React.RefAttributes>;
HelperText: React.ForwardRefExoticComponent<{
children: React.ReactNode;
className?: string;
} & React.RefAttributes>;
AffixContainer: React.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & React.RefAttributes>;
Prefix: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & React.RefAttributes>;
Suffix: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & React.RefAttributes>;
};
export {};