///
import { CollectionState, Translate } from '@wix/bex-core';
export type MultipleSelection = boolean | number;
export type ReplaceMultiple = Omit & T extends {
multiple?: any;
} ? {
multiple?: MultipleSelection;
} : {
multiple: MultipleSelection;
};
export declare function fromMultipleSelectionToBoolean(multipleSelection?: MultipleSelection): boolean;
export type MaxSelectionLabelProps = {
dataHook?: string;
multiple?: MultipleSelection;
t: Translate;
customLabel?(_: {
num: number;
max: number;
}): string;
selectedCount: number;
};
export declare function BulkSelectionMaxSelectionLabel(props: MaxSelectionLabelProps): JSX.Element | null;
export declare function reachedMaxSelection({ collection, multiple, }: {
multiple?: MultipleSelection;
collection: Pick, 'bulkSelect'>;
}): boolean;
//# sourceMappingURL=MaxSelection.d.ts.map