import React from 'react';
import { Select } from 'antd';
import type { SelectValue, RefSelectProps, SelectProps as AntdSelectProps } from 'antd/es/select';
interface SelectProps<VT = SelectValue> extends Omit<AntdSelectProps<VT>, 'maxLength' | 'filterOption' | 'internalProps'> {
    noWrap?: boolean;
    /**
     * @description option中value和label在数据中相对应的字段
     * @default {label: 'value'; value: 'key';}
     */
    fieldNames?: {
        label: string;
        value: string;
    };
    value?: any;
    maxLength?: number;
    filterOption?: boolean | ((inputValue: string, option?: Record<string, any>) => boolean);
}
declare const InlineSelect: React.ForwardRefExoticComponent<SelectProps<SelectValue> & React.RefAttributes<RefSelectProps>>;
declare type SelectType = typeof InlineSelect;
interface SelectInstance extends SelectType {
    Option: typeof Select.Option;
    OptGroup: typeof Select.OptGroup;
}
declare const InternalSelect: SelectInstance;
export default InternalSelect;
