import { BoxProps } from "@chakra-ui/react"; import { ReactNode } from "react"; import { Column, TableInstance } from "react-table"; export declare type TableContextValues> = TableP & { getTableProps: TableInstance["getTableProps"]; getTableBodyProps: TableInstance["getTableBodyProps"]; headerGroups: TableInstance["headerGroups"]; page: TableInstance["page"]; prepareRow: TableInstance["prepareRow"]; canPreviousPage: TableInstance["canPreviousPage"]; canNextPage: TableInstance["canNextPage"]; pageOptions: TableInstance["pageOptions"]; pageCount: TableInstance["pageCount"]; gotoPage: TableInstance["gotoPage"]; nextPage: TableInstance["nextPage"]; previousPage: TableInstance["previousPage"]; pageIndex: number; }; export declare type TableP> = { data?: T[]; columns: Column[]; manualPagination?: { onPageChange: (page: number) => number; pageIndex: number; totalPages: number; }; isLoading?: boolean; children?: ReactNode; } & Partial; export declare const TableContainer: ({ data, columns, manualPagination, isLoading, children, ...props }: TableP) => JSX.Element; export declare const useTableContext: () => TableContextValues>;