type Key = string | number; export declare const useSelect: () => { /** * 选中数组 */ ids: string[]; /** * 批量选中 */ select: (...keys: Key[]) => void; /** * 批量取消选中 */ deselect: (...keys: Key[]) => void; /** * 切换选中状态 * @param key */ toggle: (key: Key) => void; /** * 重置 */ reset: (...keys: Key[]) => void; /** * 判断是否被选中 * @param key * @returns */ isSelected: (key: Key) => boolean; }; export {}; //# sourceMappingURL=useSelect.d.ts.map