///
export declare const Modes: ["multiple", "single"];
export declare type Mode = typeof Modes[number];
export declare type SelectValue = string | string[] | number | number[] | IOptionsProps[] | null;
export interface IAdvancedSelectorProps {
prefixCls?: string;
className?: string;
children?: React.ReactNode;
style?: React.CSSProperties;
disabled?: boolean;
dropdownStyle?: React.CSSProperties;
notFoundContent?: React.ReactNode;
placeholder?: string;
showFrequent?: boolean;
showCollectIcon?: boolean;
showDetailIcon?: boolean;
suffixIcon?: React.ReactNode;
mode?: Mode;
value?: IOptionsProps[] | IOptionsProps;
columns?: [];
options?: [];
size?: number;
optionLabelProp?: string;
dropdownFooterRender?: React.ReactNode;
visible?: boolean;
collectList?: [];
historyList?: [];
loading?: boolean;
searchField?: string;
onChange?: () => void;
onSearch?: (val: string) => void;
onSelect?: (value: T extends (infer I)[] ? I : T, option: React.ReactElement) => void;
onShowDetail?: (value: IOptionsProps[]) => void;
onShowMore?: () => void;
onCollect?: (flag: boolean, value: IOptionsProps) => void;
}
export interface IIndxPosListProps {
end: number;
start: number;
}
export interface IColumnsProps {
title?: string;
key: string;
}
export interface IOptionsProps {
value?: string | number;
label?: string;
}
export interface ISearchInfoProps {
searchValue?: string;
previousInputValue: string;
previousEditValue?: string;
searchIndex?: number;
selectionStart?: number;
deleteEndIndx: number;
editOptions?: any[];
}