import React from 'react';
import { InputProps, InputRef } from 'antd-mobile';
import './SuperInput.less';
export type { InputProps, InputRef };
export interface SuperInputProps extends Omit<InputProps, 'type'> {
    /**
     * @description 类型，在原生基础上做了扩展。
     * @default 'text'
     */
    type?: InputProps['type'] | 'mobile' | 'bankCard' | 'idCard' | 'number';
    /**
     * @description 去除头尾空格。
     * @default false
     */
    disabledWhiteSpace?: boolean;
    /**
     * @description 数值精度。仅在 `type=number` 时生效。
     */
    precision?: number;
    /**
     * @description 数值精度向下舍入，需配合 `precision` 使用。仅在 `type=number` 时生效。
     */
    useFloor?: boolean;
    /**
     * @description 输入框前置内容。
     */
    prefix?: React.ReactNode;
    /**
     * @description 输入框后置内容。
     */
    suffix?: React.ReactNode;
    /**
     * @description 是否格式化。仅在 `type=mobile | bankCard | idCard` 时生效。手机号码和银行卡号格式化，身份证号`x`大写。
     * @default false
     */
    format?: boolean;
}
declare const SuperInput: React.ForwardRefExoticComponent<SuperInputProps & React.RefAttributes<InputRef>>;
export default SuperInput;
