/* eslint-disable @typescript-eslint/ban-types */ import { UsePaginationInstanceProps, UsePaginationOptions, UsePaginationState, UseSortByColumnOptions, UseSortByColumnProps, UseSortByHooks, UseSortByInstanceProps, UseSortByOptions, UseSortByState, } from "react-table"; declare module "react-table" { export interface TableOptions extends UseExpandedOptions, UsePaginationOptions, UseSortByOptions, // note that having Record here allows you to add anything to the options, this matches the spirit of the // underlying js library, but might be cleaner if it's replaced by a more specific type that matches your // feature set, this is a safe default. Record {} export interface Hooks extends UseExpandedHooks, UseSortByHooks {} export interface TableInstance extends UsePaginationInstanceProps, UseSortByInstanceProps {} export interface TableState extends UseColumnOrderState, UseExpandedState, UsePaginationState, UseSortByState {} export interface ColumnInterface extends UseResizeColumnsColumnOptions, UseSortByColumnOptions {} export interface ColumnInstance extends UseResizeColumnsColumnProps, UseSortByColumnProps {} export interface Cell extends UseGroupByCellProps, UseRowStateCellProps {} export interface Row extends UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps {} }