import * as React from 'react';
import RcSelect, { Option, SelectProps as RcSelectProps } from 'rc-select';
import { OptionProps as OptionProps_ } from 'rc-select/lib/Option';
import { ConfigConsumerProps } from 'antd/lib/config-provider/context';
import { SizeType } from '../config-provider/SizeContext';
import "@whalecloud/fdx-theme-fdx/select";
declare type RawValue = string | number;
export declare type OptionProps = OptionProps_;
export declare type OptionType = typeof Option;
export interface LabeledValue {
    key?: string;
    value: RawValue;
    label: React.ReactNode;
}
export declare type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[];
export interface InternalSelectProps<VT> extends Omit<RcSelectProps<VT>, 'mode'> {
    suffixIcon?: React.ReactNode;
    size?: SizeType;
    mode?: 'multiple' | 'tags';
    bordered?: boolean;
}
export interface SelectProps<VT> extends Omit<InternalSelectProps<VT>, 'inputIcon' | 'mode' | 'getInputElement' | 'backfill'> {
    mode?: 'multiple' | 'tags';
}
declare class Select<ValueType extends SelectValue = SelectValue> extends React.Component<SelectProps<ValueType>> {
    static Option: import("rc-select/lib/Option").OptionFC;
    static OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
    static SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
    static defaultProps: {
        transitionName: string;
        choiceTransitionName: string;
        bordered: boolean;
    };
    selectRef: React.RefObject<RcSelect<ValueType>>;
    focus: () => void;
    blur: () => void;
    getMode: () => "combobox" | "multiple" | "tags" | undefined;
    renderSelect: ({ getPopupContainer: getContextPopupContainer, getPrefixCls, renderEmpty, }: ConfigConsumerProps) => JSX.Element;
    render(): JSX.Element;
}
export default Select;
