import React, { ReactNode } from 'react'; import { NativeProps } from '../../utils/native-props'; declare type NativeInputProps = React.DetailedHTMLProps, HTMLInputElement>; declare type AriaProps = { role?: string; }; export declare type InputProps = Pick & { value?: string; defaultValue?: string; onChange?: (val: string) => void; clearable?: boolean; clearIcon?: ReactNode; onlyShowClearWhenFocus?: boolean; onClear?: () => void; onEnterPress?: (e: React.KeyboardEvent) => void; min?: number; max?: number; } & NativeProps<'--font-size' | '--color' | '--placeholder-color' | '--text-align'> & AriaProps; export declare type InputRef = { clear: () => void; focus: () => void; blur: () => void; nativeElement: HTMLInputElement | null; }; export declare const Input: React.ForwardRefExoticComponent & { value?: string | undefined; defaultValue?: string | undefined; onChange?: ((val: string) => void) | undefined; clearable?: boolean | undefined; clearIcon?: ReactNode; onlyShowClearWhenFocus?: boolean | undefined; onClear?: (() => void) | undefined; onEnterPress?: ((e: React.KeyboardEvent) => void) | undefined; min?: number | undefined; max?: number | undefined; } & { className?: string | undefined; style?: (React.CSSProperties & Partial>) | undefined; tabIndex?: number | undefined; } & React.AriaAttributes & AriaProps & React.RefAttributes>; export {};