import { NTable } from '../interface'; import { Ref, ComputedRef } from 'vue'; export declare const SELECTION_COLUMN: {}; export declare const SELECTION_ALL: "SELECT_ALL"; export declare const SELECTION_INVERT: "SELECT_INVERT"; export declare const SELECTION_NONE: "SELECT_NONE"; export declare const EXPAND_COLUMN: {}; export type INTERNAL_SELECTION_ITEM = NTable.NRow.ISelectionItem | typeof SELECTION_ALL | typeof SELECTION_INVERT | typeof SELECTION_NONE; export interface ISelectionOptions { pageData: Ref; data: Ref; getRowKey: Ref>; getRecordByKey: (key: NTable.TKey) => RecordType; expandType: Ref; childrenColumnName: Ref; locale: Ref; getPopupContainer?: ComputedRef; } export interface IUseSelection { transformColumns: NTable.NColumn.TTransformColumns; selectedKeySet: Ref>; } export declare function useSelection(rowSelectionRef: Ref | undefined>, configRef: ISelectionOptions): IUseSelection;