/**
*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
import { type RowData, type Table as DataGridType } from '@tanstack/react-table';
import { type Skeleton } from '../skeleton';
import { type ActionButton, type ActionCell, type Body, type BodyCell, type BodyRow, type ColumnControls, type Header, type HeaderCell, type HeaderTitle, type LoadingPlaceholder, type Navigation, type NoDataPlaceholder, type Pagination, type PaginationArrowButton, type PaginationNumericButton, type PaginationNumericButtons, type ResizingBar, type RowsPerPage, type Scrollable, type TableResults } from './Components';
import { type DataGridNav } from './data-grid-nav/data-grid-nav';
type Nullable = T | null;
export interface DataGridComponentsInterface {
ResizingBar?: Nullable>;
/**
* Header Section
*/
Header?: Nullable;
HeaderCell?: Nullable>;
HeaderTitle?: Nullable>;
ActionButton?: Nullable;
ColumnControls?: Nullable;
/**
* Body Section
*/
Scrollable?: Nullable;
Body?: Nullable;
BodyCell?: Nullable>;
BodyRow?: Nullable>;
ActionCell?: Nullable>;
LoadingPlaceholder?: Nullable;
NoDataPlaceholder?: Nullable;
/**
* Navigation Section
*/
Navigation?: Nullable;
Pagination?: Nullable;
PaginationArrowButton?: Nullable;
TableResults?: Nullable;
RowsPerPage?: Nullable;
PaginationNumericButtons?: Nullable;
PaginationNumericButton?: Nullable;
}
export interface DataGridContextType {
isResizable: boolean;
tableProps: DataGridType;
components: DataGridComponentsInterface;
isLoading: boolean;
hasResizeColumns: boolean;
isKeyboardNavigationEnabled: boolean;
isSkeletonLoading: boolean;
skeletonProps: React.ComponentProps;
dataGridNav: DataGridNav;
portalTarget: HTMLElement | null;
isMediumNavigation: boolean;
isSmallNavigation: boolean;
}
export declare const DataGridContext: import("react").Context>;
export declare function useDataGridContext(): DataGridContextType;
export {};
//# sourceMappingURL=data-grid-context.d.ts.map