/// <reference types="react" />
export declare const useSelection: (allIds: string[]) => {
    selectedRowIds: string[];
    handleRowSelect: (rowId: string, selected: boolean) => void;
    handleSelectAll: (selected: boolean) => void;
    clearSelection: () => void;
    setSelectedRowIds: import("react").Dispatch<import("react").SetStateAction<string[]>>;
};
