import { IObjectWithKey, ISelectionOptionsWithRequiredGetKey, Selection } from '@fluentui/react'; export declare type ItemsOrKeys = T[] | string[] | number[]; interface IExtendedSelectionOptions extends ISelectionOptionsWithRequiredGetKey { defaultSelectedItems?: ItemsOrKeys; } declare class ExtendedSelection extends Selection { private defaultSelectedItems; select(itemsOrKeys: ItemsOrKeys, clearRest?: boolean): void; deselect(itemsOrKeys: ItemsOrKeys): void; deselectAll(): void; selectAll(): void; setDefaultSelectedItems(itemsOrKeys: ItemsOrKeys): void; clearDefaultSelectedItems(): void; setItems(items: T[], shouldClear?: boolean): void; private convertToKey; } export declare const useSelection: (constructor: IExtendedSelectionOptions, deps?: any[]) => ExtendedSelection; export default ExtendedSelection;