import React from 'react'; import type { RowSelection, DataGridProps } from '../dataGrid'; declare const initialState: { selectable: boolean; dataSource: any[]; curpageDataSource: any[]; selectedRows: any[]; } & Pick & Pick; export declare const useRowSelectionReducer: () => { state: { selectable: boolean; dataSource: any[]; curpageDataSource: any[]; selectedRows: any[]; } & Pick & Pick; setters: { select: (value: { selected: boolean; key: string | number; record: any; }) => void; updateState: (diff: Partial) => void; }; }; export declare const RowSelectionContext: React.Context<{ selectable: boolean; dataSource: any[]; curpageDataSource: any[]; selectedRows: any[]; } & Pick & Pick>; export declare const useRowSelectionContext: () => { selectable: boolean; dataSource: any[]; curpageDataSource: any[]; selectedRows: any[]; } & Pick & Pick; export declare const RowSelectionContextSetter: React.Context<{ select: (value: { selected: boolean; key: string | number; record: any; }) => void; updateState: (diff: Partial) => void; }>; export declare const useRowSelectionSetter: () => { select: (value: { selected: boolean; key: string | number; record: any; }) => void; updateState: (diff: Partial) => void; }; export {};