import { CSSProperties } from 'react'; declare module 'react-table' { interface Hooks extends UseExpandedHooks, UseGroupByHooks, UseRowSelectHooks, UseTableHooks, UseSortByHooks { } interface TableInstance extends UseColumnOrderInstanceProps, UseExpandedInstanceProps, UseFiltersInstanceProps, UseGlobalFiltersInstanceProps, UseGroupByInstanceProps, UsePaginationInstanceProps, UseRowSelectInstanceProps, UseRowStateInstanceProps, UseSortByInstanceProps { /** * Mirrors the `revealDroppedColumns` Table prop, threaded as a `useTable` * option so the `useDroppedColumns` plugin can gate its synthetic column on * the feature being opted into. */ revealDroppedColumns?: boolean; } function useTable(options: TableOptions, ...plugins: Array>): TableInstance; interface TableState extends UseColumnOrderState, UseExpandedState, UseFiltersState, UseGlobalFiltersState, UseGroupByState, UsePaginationState, UseResizeColumnsState, UseRowSelectState, UseRowStateState, UseSortByState { } interface Cell extends UseGroupByCellProps, UseRowStateCellProps { } interface Row extends UseExpandedRowProps, UseGroupByRowProps, UseRowSelectRowProps, UseRowStateRowProps { } interface ColumnInterface extends UseFiltersColumnOptions, UseGlobalFiltersColumnOptions, UseGroupByColumnOptions, UseResizeColumnsColumnOptions, UseSortByColumnOptions, UseTableColumnOptions { } type CoreUIColumn = Column & { cellStyle?: CSSProperties; /** * Optional responsive breakpoint, in pixels. When set, the column is * hidden while the table container is narrower than this value. Columns * without `dropAt` are always shown. Requires no extra wiring — the Table * measures its own width. */ dropAt?: number; }; interface ColumnInstance extends UseFiltersColumnProps, UseGroupByColumnProps, UseResizeColumnsColumnProps, UseSortByColumnProps { cellStyle?: CSSProperties; dropAt?: number; } interface CoreUIUseTableOptions extends UseTableOptions { columns: ReadonlyArray>; } interface TableOptions extends UseExpandedOptions, UseFiltersOptions, UseGlobalFiltersOptions, UseGroupByOptions, UsePaginationOptions, UseResizeColumnsOptions, UseRowSelectOptions, UseRowStateOptions, UseSortByOptions, CoreUIUseTableOptions, Record { } } //# sourceMappingURL=react-table-config.d.ts.map