import type { SelectProps } from 'antd';
import React from 'react';
import './select-with-all.less';
export interface FlatOption {
    value: string | number;
    label: React.ReactNode;
    disabled?: boolean;
    dataSource?: string;
    type?: string;
}
export interface OptionGroup {
    label: React.ReactNode;
    options: FlatOption[];
}
export type OptionItem = FlatOption | OptionGroup;
export interface SelectWithAllProps extends Omit<SelectProps, 'options' | 'mode' | 'value' | 'onChange'> {
    options: OptionItem[];
    value?: (string | number)[];
    onChange?: (value: (string | number)[]) => void;
    selectAllValue?: string | number;
    selectAllLabel?: string;
    searchPlaceholder?: string;
    dropdownMaxHeight?: number;
    dropdownWidth?: number;
    isShowSearch?: boolean;
}
declare const SelectWithAll: React.FC<SelectWithAllProps>;
export default SelectWithAll;
