import React from 'react';
import { NativeProps } from 'antd-mobile/es/utils/native-props';
import { InputProps as InputPropsTaro, BaseEventOrig } from '@tarojs/components';
declare type AriaProps = {};
export declare type InputProps = Pick<InputPropsTaro, 'maxlength' | 'name' | 'focus' | 'onFocus' | 'onBlur' | 'value'> & {
    type?: InputPropsTaro['type'] | 'password';
    defaultValue?: string;
    onChange?: (val: string) => void;
    placeholder?: string;
    disabled?: boolean;
    readOnly?: boolean;
    clearable?: boolean;
    onClear?: () => void;
    id?: string;
    onEnterPress?: (e: BaseEventOrig<InputPropsTaro.inputValueEventDetail>) => 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<Pick<InputPropsTaro, "value" | "name" | "onFocus" | "onBlur" | "maxlength" | "focus"> & {
    type?: InputPropsTaro['type'] | 'password';
    defaultValue?: string | undefined;
    onChange?: ((val: string) => void) | undefined;
    placeholder?: string | undefined;
    disabled?: boolean | undefined;
    readOnly?: boolean | undefined;
    clearable?: boolean | undefined;
    onClear?: (() => void) | undefined;
    id?: string | undefined;
    onEnterPress?: ((e: BaseEventOrig<InputPropsTaro.inputValueEventDetail>) => void) | undefined;
    min?: number | undefined;
    max?: number | undefined;
} & {
    className?: string | undefined;
    style?: (React.CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align", string>>) | undefined;
    tabIndex?: number | undefined;
} & React.AriaAttributes & React.RefAttributes<InputRef>>;
export {};
