import { type Ref } from 'vue'; interface IUseSelectionOptions { filterItems: Ref>>; uniqueKey: Ref; } export declare function useSelection(options: IUseSelectionOptions): { selected: Ref<(string | number)[], (string | number)[]>; selectedAll: import("vue").ComputedRef; getRowKey: (row: Record, index: number) => string | number; selectAll: (checked: boolean) => void; clearSelection: () => void; selectRow: (index: number) => void; unselectRow: (index: number) => void; toggleRow: (index: number) => void; isRowSelected: (index: number) => boolean; getSelectedRows: () => Array>; clearSelectedRows: () => void; }; /** Compute the unique key field from columns. */ export declare const useUniqueKey: (columns: Ref>) => import("vue").ComputedRef; export {};