import { GetStylesApi } from '@mantine/core'; import { Row, Table } from '@tanstack/table-core'; import { ReactNode, RefObject } from 'react'; import { type PlasmaTableFactory } from './Table.js'; import { TableAction, TableLayout } from './Table.types.js'; import { TableStore } from './use-table.js'; export interface TableContextValue { getStyles: GetStylesApi; store: TableStore; layouts: TableLayout[]; getRowActions: (datum: TData[]) => TableAction[]; table: Table; containerRef: RefObject; selectionCheckboxesVisible: boolean; rangeSelectionAnchorRef: RefObject; handleRowSelection: (row: Row, selectRange: boolean) => void; handlePageSelection: (rows: Row[], selected: boolean) => void; } export interface TableProviderProps { value: TableContextValue; children: ReactNode; } export declare const TableProvider: (props: TableProviderProps) => ReactNode, useTableContext: () => TableContextValue; //# sourceMappingURL=TableContext.d.ts.map