import { MouseEventHandler } from "react"; import { TableInstance, UseColumnOrderInstanceProps, UseColumnOrderState, UseExpandedHooks, UseExpandedInstanceProps, UseExpandedOptions, UseExpandedRowProps, UseExpandedState, UseFiltersColumnOptions, UseFiltersColumnProps, UseFiltersInstanceProps, UseFiltersOptions, UseFiltersState, UseGlobalFiltersInstanceProps, UseGlobalFiltersOptions, UseGlobalFiltersState, UseGroupByCellProps, UseGroupByColumnOptions, UseGroupByColumnProps, UseGroupByHooks, UseGroupByInstanceProps, UseGroupByOptions, UseGroupByRowProps, UseGroupByState, UsePaginationInstanceProps, UsePaginationOptions, UsePaginationState, UseResizeColumnsColumnOptions, UseResizeColumnsColumnProps, UseResizeColumnsOptions, UseResizeColumnsState, UseRowSelectHooks, UseRowSelectInstanceProps, UseRowSelectOptions, UseRowSelectRowProps, UseRowSelectState, UseSortByColumnOptions, UseSortByColumnProps, UseSortByHooks, UseSortByInstanceProps, UseSortByOptions, UseSortByState } from "react-table"; declare module "react-table" { // eslint-disable-next-line @typescript-eslint/no-unused-vars export interface UseFlexLayoutInstanceProps> { totalColumnsMinWidth: number; } // eslint-disable-next-line @typescript-eslint/no-unused-vars export interface UseFlexLayoutColumnProps> { totalMinWidth: number; } export interface TableOptions> extends UseExpandedOptions, UseFiltersOptions, UseFiltersOptions, UseGlobalFiltersOptions, UseGroupByOptions, UsePaginationOptions, UseResizeColumnsOptions, UseRowSelectOptions, UseSortByOptions {} export interface Hooks = Record> extends UseExpandedHooks, UseGroupByHooks, UseRowSelectHooks, UseSortByHooks {} export interface TableInstance = Record> extends UseColumnOrderInstanceProps, UseExpandedInstanceProps, UseFiltersInstanceProps, UseGlobalFiltersInstanceProps, UseGroupByInstanceProps, UsePaginationInstanceProps, UseRowSelectInstanceProps, UseFlexLayoutInstanceProps, UsePaginationInstanceProps, UseSortByInstanceProps {} export interface TableState = Record> extends UseColumnOrderState, UseExpandedState, UseFiltersState, UseGlobalFiltersState, UseGroupByState, UsePaginationState, UseResizeColumnsState, UseRowSelectState, UseSortByState { rowCount: number; } export interface ColumnInterface = Record> extends UseFiltersColumnOptions, UseGroupByColumnOptions, UseResizeColumnsColumnOptions, UseSortByColumnOptions { align?: string; } export interface ColumnInstance = Record> extends UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseFlexLayoutColumnProps, UseSortByColumnProps {} export type Cell = Record> = UseGroupByCellProps; export interface Row extends UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps {} } export type TableMouseEventHandler = (instance: TableInstance) => MouseEventHandler;