import { InputRef as AntdInputRef } from 'antd';
import React, { CSSProperties, FC, ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
import './Input.scss';
interface InputProps {
    addonAfter?: ReactNode;
    allowClear?: boolean | {
        clearIcon: ReactNode;
    };
    autoComplete?: string;
    autoFocus?: boolean;
    bordered?: boolean;
    className?: string;
    defaultValue?: string;
    disabled?: boolean;
    id?: string;
    max?: number;
    maxLength?: number;
    min?: number;
    onBlur?: <T extends HTMLInputElement | HTMLTextAreaElement>(e: React.FocusEvent<T> | React.KeyboardEvent<T>, previousValue?: string) => void;
    onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
    onPressEnter?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
    width?: CSSProperties['width'];
    placeholder?: string;
    prefix?: ReactNode;
    size?: 'large' | 'middle' | 'small';
    title?: string;
    type?: string;
    value?: string;
}
interface TextAreaProps {
    disabled?: boolean;
    onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
    placeholder?: string;
    rows?: number;
    value?: string;
}
interface PasswordProps {
    autoFocus?: boolean;
    disabled?: boolean;
    placeholder?: string;
    prefix?: ReactNode;
}
interface GroupProps {
    children?: ReactNode;
    className?: string;
    compact?: boolean;
}
declare const Input: Input;
type Input = ForwardRefExoticComponent<InputProps & RefAttributes<AntdInputRef>> & {
    Group: FC<GroupProps>;
    Password: ForwardRefExoticComponent<PasswordProps & RefAttributes<AntdInputRef>>;
    TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<AntdInputRef>>;
};
export type InputRef = AntdInputRef;
export default Input;
//# sourceMappingURL=Input.d.ts.map