import { AnyObject } from "../../_util/type.js"; import { GetPopupContainer, GetRowKey, Key, SelectionItem, TableLocale, TableRowSelection, TransformColumns } from "../interface.js"; import * as vue1078 from "vue"; import { Ref } from "vue"; //#region src/table/hooks/useSelection.d.ts declare const SELECTION_COLUMN: {}; declare const SELECTION_ALL: "SELECT_ALL"; declare const SELECTION_INVERT: "SELECT_INVERT"; declare const SELECTION_NONE: "SELECT_NONE"; type MaybeRef = T | Ref; interface UseSelectionConfig { prefixCls: MaybeRef; pageData: MaybeRef; data: MaybeRef; getRowKey: MaybeRef>; getRecordByKey: (key: Key) => RecordType; childrenColumnName: MaybeRef; locale: MaybeRef; getPopupContainer?: MaybeRef; } type INTERNAL_SELECTION_ITEM = SelectionItem | typeof SELECTION_ALL | typeof SELECTION_INVERT | typeof SELECTION_NONE; declare function useSelection(config: UseSelectionConfig, rowSelection?: MaybeRef | undefined>): readonly [TransformColumns, vue1078.ComputedRef>]; //#endregion export { INTERNAL_SELECTION_ITEM, SELECTION_ALL, SELECTION_COLUMN, SELECTION_INVERT, SELECTION_NONE, useSelection as default };