import { SelectValue, Placement, OptionType } from './typings';
import React, { CSSProperties } from 'react';
import { Option } from './components';
export interface SelectProps {
    style?: CSSProperties;
    loading?: boolean;
    className?: string;
    allowClear?: boolean;
    placeholder?: string;
    trigger?: ('click' | 'hover' | 'contextMenu')[];
    dropdownStyle?: CSSProperties;
    dropdownClassName?: string;
    value?: SelectValue;
    onChange?: (value?: SelectValue) => void;
    onSelect?: (option: OptionType) => void;
    multiple?: boolean;
    showSearch?: boolean;
    onRemoteSearch?: (keyword?: string) => void;
    autoAdjustOverflow?: boolean;
    placement?: Placement;
    getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
    onScrollBottom?: (searchText?: string) => void;
    onVisibleChange?: (visible: boolean) => void;
    showAll?: boolean;
    scrollBottomDistance?: number;
}
export interface SelectInterface extends React.FC<SelectProps> {
    Option: typeof Option;
}
declare const Select: SelectInterface;
export default Select;
