import * as react from 'react'; import { RefObject, Dispatch, SetStateAction, ReactNode, JSX, ChangeEvent, MouseEvent, DragEventHandler } from 'react'; import * as _tanstack_react_table from '@tanstack/react-table'; import { Row, ColumnFiltersState, ColumnOrderState, ColumnPinningState, ColumnSizingInfoState, ColumnSizingState, ExpandedState, GroupingState, PaginationState, RowSelectionState, SortingState, Updater, VisibilityState, AccessorFn, DeepKeys, DeepValue, Table, TableState, ColumnDef, Column, Header, HeaderGroup, Cell, AggregationFn, SortingFn, FilterFn, TableOptions, OnChangeFn, Renderable, RowPinningPosition } from '@tanstack/react-table'; import { VirtualItem, VirtualizerOptions, Virtualizer } from '@tanstack/react-virtual'; import { AlertProps } from '@mui/material/Alert'; import { AutocompleteProps } from '@mui/material/Autocomplete'; import { BoxProps } from '@mui/material/Box'; import { ButtonProps } from '@mui/material/Button'; import { CheckboxProps } from '@mui/material/Checkbox'; import { ChipProps } from '@mui/material/Chip'; import { CircularProgressProps } from '@mui/material/CircularProgress'; import { DialogProps } from '@mui/material/Dialog'; import { IconButtonProps } from '@mui/material/IconButton'; import { LinearProgressProps } from '@mui/material/LinearProgress'; import { PaginationProps } from '@mui/material/Pagination'; import { PaperProps } from '@mui/material/Paper'; import { RadioProps } from '@mui/material/Radio'; import { SelectProps } from '@mui/material/Select'; import { SkeletonProps } from '@mui/material/Skeleton'; import { SliderProps } from '@mui/material/Slider'; import { TableProps } from '@mui/material/Table'; import { TableBodyProps } from '@mui/material/TableBody'; import { TableCellProps } from '@mui/material/TableCell'; import { TableContainerProps } from '@mui/material/TableContainer'; import { TableFooterProps } from '@mui/material/TableFooter'; import { TableHeadProps } from '@mui/material/TableHead'; import { TableRowProps } from '@mui/material/TableRow'; import { TextFieldProps } from '@mui/material/TextField'; import { Theme } from '@mui/material/styles'; import * as _mui_x_date_pickers from '@mui/x-date-pickers'; import { DatePickerProps, DateTimePickerProps, TimePickerProps } from '@mui/x-date-pickers'; import { RankingInfo } from '@tanstack/match-sorter-utils'; import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent'; import * as _mui_material from '@mui/material'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { CollapseProps } from '@mui/material/Collapse'; import { DividerProps } from '@mui/material/Divider'; import { TableSortLabelProps } from '@mui/material/TableSortLabel'; import { MenuItemProps } from '@mui/material/MenuItem'; import { MenuProps } from '@mui/material/Menu'; declare const MRT_AggregationFns: { sum: _tanstack_react_table.AggregationFn; min: _tanstack_react_table.AggregationFn; max: _tanstack_react_table.AggregationFn; extent: _tanstack_react_table.AggregationFn; mean: _tanstack_react_table.AggregationFn; median: _tanstack_react_table.AggregationFn; unique: _tanstack_react_table.AggregationFn; uniqueCount: _tanstack_react_table.AggregationFn; count: _tanstack_react_table.AggregationFn; }; declare const MRT_FilterFns: { between: { (row: Row, id: string, filterValues: [number | string, number | string]): boolean; autoRemove(val: any): boolean; }; betweenInclusive: { (row: Row, id: string, filterValues: [number | string, number | string]): boolean; autoRemove(val: any): boolean; }; contains: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; empty: { (row: Row, id: string, _filterValue: number | string): boolean; autoRemove(val: any): boolean; }; endsWith: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; equals: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; fuzzy: { (row: Row, columnId: string, filterValue: number | string, addMeta: (item: RankingInfo) => void): boolean; autoRemove(val: any): boolean; }; greaterThan: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; greaterThanOrEqualTo: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; lessThan: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; lessThanOrEqualTo: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; notEmpty: { (row: Row, id: string, _filterValue: number | string): boolean; autoRemove(val: any): boolean; }; notEquals: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; startsWith: { (row: Row, id: string, filterValue: number | string): boolean; autoRemove(val: any): boolean; }; includesString: _tanstack_react_table.FilterFn; includesStringSensitive: _tanstack_react_table.FilterFn; equalsString: _tanstack_react_table.FilterFn; arrIncludes: _tanstack_react_table.FilterFn; arrIncludesAll: _tanstack_react_table.FilterFn; arrIncludesSome: _tanstack_react_table.FilterFn; weakEquals: _tanstack_react_table.FilterFn; inNumberRange: _tanstack_react_table.FilterFn; }; declare const MRT_SortingFns: { fuzzy: (rowA: Row, rowB: Row, columnId: string) => number; alphanumeric: _tanstack_react_table.SortingFn; alphanumericCaseSensitive: _tanstack_react_table.SortingFn; text: _tanstack_react_table.SortingFn; textCaseSensitive: _tanstack_react_table.SortingFn; datetime: _tanstack_react_table.SortingFn; basic: _tanstack_react_table.SortingFn; }; declare const rankGlobalFuzzy: (rowA: MRT_Row, rowB: MRT_Row) => number; declare const MRT_Default_Icons: { readonly ArrowDownwardIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ArrowRightIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly CancelIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ChevronLeftIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ChevronRightIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ClearAllIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly CloseIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ContentCopy: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly DensityLargeIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly DensityMediumIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly DensitySmallIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly DragHandleIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly DynamicFeedIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly EditIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ExpandMoreIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FilterAltIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FilterListIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FilterListOffIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FirstPageIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FullscreenExitIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly FullscreenIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly KeyboardDoubleArrowDownIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly LastPageIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly MoreHorizIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly MoreVertIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly PushPinIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly RestartAltIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly SaveIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly SearchIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly SearchOffIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly SortIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly SyncAltIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly ViewColumnIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; readonly VisibilityOffIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & { muiName: string; }; }; type MRT_Icons = Record; type LiteralUnion = T | (U & Record); type Prettify = { [K in keyof T]: T[K]; } & unknown; type Xor = Prettify | Prettify; type DropdownOption = { label?: string; value: any; } | string; type MRT_DensityState = 'comfortable' | 'compact' | 'spacious'; type MRT_ColumnFilterFnsState = Record; type MRT_RowData = Record; type MRT_ColumnFiltersState = ColumnFiltersState; type MRT_ColumnOrderState = ColumnOrderState; type MRT_ColumnPinningState = ColumnPinningState; type MRT_ColumnSizingInfoState = ColumnSizingInfoState; type MRT_ColumnSizingState = ColumnSizingState; type MRT_ExpandedState = ExpandedState; type MRT_GroupingState = GroupingState; type MRT_PaginationState = PaginationState; type MRT_RowSelectionState = RowSelectionState; type MRT_SortingState = SortingState; type MRT_Updater = Updater; type MRT_VirtualItem = VirtualItem; type MRT_VisibilityState = VisibilityState; type MRT_VirtualizerOptions = VirtualizerOptions; type MRT_ColumnVirtualizer = Virtualizer & { virtualColumns: MRT_VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; }; type MRT_RowVirtualizer = Virtualizer & { virtualRows: MRT_VirtualItem[]; }; type MRT_ColumnHelper = { accessor: | DeepKeys, TValue extends TAccessor extends AccessorFn ? TReturn : TAccessor extends DeepKeys ? DeepValue : never>(accessor: TAccessor, column: MRT_DisplayColumnDef) => MRT_ColumnDef; display: (column: MRT_DisplayColumnDef) => MRT_ColumnDef; group: (column: MRT_GroupColumnDef) => MRT_ColumnDef; }; interface MRT_Localization { language: string; actions: string; and: string; cancel: string; changeFilterMode: string; changeSearchMode: string; clearFilter: string; clearSearch: string; clearSelection: string; clearSort: string; clickToCopy: string; collapse: string; collapseAll: string; columnActions: string; copiedToClipboard: string; copy: string; dropToGroupBy: string; edit: string; expand: string; expandAll: string; filterArrIncludes: string; filterArrIncludesAll: string; filterArrIncludesSome: string; filterBetween: string; filterBetweenInclusive: string; filterByColumn: string; filterContains: string; filterEmpty: string; filterEndsWith: string; filterEquals: string; filterEqualsString: string; filterFuzzy: string; filterGreaterThan: string; filterGreaterThanOrEqualTo: string; filterIncludesString: string; filterIncludesStringSensitive: string; filteringByColumn: string; filterInNumberRange: string; filterLessThan: string; filterLessThanOrEqualTo: string; filterMode: string; filterNotEmpty: string; filterNotEquals: string; filterStartsWith: string; filterWeakEquals: string; goToFirstPage: string; goToLastPage: string; goToNextPage: string; goToPreviousPage: string; grab: string; groupByColumn: string; groupedBy: string; hideAll: string; hideColumn: string; max: string; min: string; move: string; noRecordsToDisplay: string; noResultsFound: string; of: string; or: string; pin: string; pinToLeft: string; pinToRight: string; resetColumnSize: string; resetOrder: string; rowActions: string; rowNumber: string; rowNumbers: string; rowsPerPage: string; save: string; search: string; select: string; selectedCountOfRowCountRowsSelected: string; showAll: string; showAllColumns: string; showHideColumns: string; showHideFilters: string; showHideSearch: string; sortByColumnAsc: string; sortByColumnDesc: string; sortedByColumnAsc: string; sortedByColumnDesc: string; thenBy: string; toggleDensity: string; toggleFullScreen: string; toggleSelectAll: string; toggleSelectRow: string; toggleVisibility: string; ungroupByColumn: string; unpin: string; unpinAll: string; } interface MRT_Theme { baseBackgroundColor: string; cellNavigationOutlineColor: string; draggingBorderColor: string; matchHighlightColor: string; menuBackgroundColor: string; pinnedRowBackgroundColor: string; selectedRowBackgroundColor: string; } interface MRT_RowModel { flatRows: MRT_Row[]; rows: MRT_Row[]; rowsById: { [key: string]: MRT_Row; }; } type MRT_TableInstance = Omit, 'getAllColumns' | 'getAllFlatColumns' | 'getAllLeafColumns' | 'getBottomRows' | 'getCenterLeafColumns' | 'getCenterRows' | 'getColumn' | 'getExpandedRowModel' | 'getFlatHeaders' | 'getFooterGroups' | 'getHeaderGroups' | 'getLeafHeaders' | 'getLeftLeafColumns' | 'getPaginationRowModel' | 'getPreFilteredRowModel' | 'getPrePaginationRowModel' | 'getRightLeafColumns' | 'getRowModel' | 'getSelectedRowModel' | 'getState' | 'getTopRows' | 'options'> & { getAllColumns: () => MRT_Column[]; getAllFlatColumns: () => MRT_Column[]; getAllLeafColumns: () => MRT_Column[]; getBottomRows: () => MRT_Row[]; getCenterLeafColumns: () => MRT_Column[]; getCenterRows: () => MRT_Row[]; getColumn: (columnId: string) => MRT_Column; getExpandedRowModel: () => MRT_RowModel; getFlatHeaders: () => MRT_Header[]; getFooterGroups: () => MRT_HeaderGroup[]; getHeaderGroups: () => MRT_HeaderGroup[]; getLeafHeaders: () => MRT_Header[]; getLeftLeafColumns: () => MRT_Column[]; getPaginationRowModel: () => MRT_RowModel; getPreFilteredRowModel: () => MRT_RowModel; getPrePaginationRowModel: () => MRT_RowModel; getRightLeafColumns: () => MRT_Column[]; getRowModel: () => MRT_RowModel; getSelectedRowModel: () => MRT_RowModel; getState: () => MRT_TableState; getTopRows: () => MRT_Row[]; options: MRT_StatefulTableOptions; refs: { actionCellRef: RefObject; bottomToolbarRef: RefObject; editInputRefs: RefObject | null>; filterInputRefs: RefObject | null>; lastSelectedRowId: RefObject; searchInputRef: RefObject; tableContainerRef: RefObject; tableFooterRef: RefObject; tableHeadCellRefs: RefObject | null>; tableHeadRef: RefObject; tablePaperRef: RefObject; topToolbarRef: RefObject; }; setActionCell: Dispatch | null>>; setColumnFilterFns: Dispatch>; setCreatingRow: Dispatch | null | true>>; setDensity: Dispatch>; setDraggingColumn: Dispatch | null>>; setDraggingRow: Dispatch | null>>; setEditingCell: Dispatch | null>>; setEditingRow: Dispatch | null>>; setGlobalFilterFn: Dispatch>; setHoveredColumn: Dispatch> | null>>; setHoveredRow: Dispatch> | null>>; setIsFullScreen: Dispatch>; setShowAlertBanner: Dispatch>; setShowColumnFilters: Dispatch>; setShowGlobalFilter: Dispatch>; setShowToolbarDropZone: Dispatch>; }; type MRT_DefinedTableOptions = Omit, 'icons' | 'localization' | 'mrtTheme'> & { icons: MRT_Icons; localization: MRT_Localization; mrtTheme: Required; }; type MRT_StatefulTableOptions = MRT_DefinedTableOptions & { state: Pick, 'columnFilterFns' | 'columnOrder' | 'columnSizingInfo' | 'creatingRow' | 'density' | 'draggingColumn' | 'draggingRow' | 'editingCell' | 'editingRow' | 'globalFilterFn' | 'grouping' | 'hoveredColumn' | 'hoveredRow' | 'isFullScreen' | 'pagination' | 'showAlertBanner' | 'showColumnFilters' | 'showGlobalFilter' | 'showToolbarDropZone'>; }; interface MRT_TableState extends TableState { actionCell?: MRT_Cell | null; columnFilterFns: MRT_ColumnFilterFnsState; creatingRow: MRT_Row | null; density: MRT_DensityState; draggingColumn: MRT_Column | null; draggingRow: MRT_Row | null; editingCell: MRT_Cell | null; editingRow: MRT_Row | null; globalFilterFn: MRT_FilterOption; hoveredColumn: Partial> | null; hoveredRow: Partial> | null; isFullScreen: boolean; isLoading: boolean; isSaving: boolean; showAlertBanner: boolean; showColumnFilters: boolean; showGlobalFilter: boolean; showLoadingOverlay: boolean; showProgressBars: boolean; showSkeletons: boolean; showToolbarDropZone: boolean; } interface MRT_ColumnDef extends Omit, 'accessorKey' | 'aggregatedCell' | 'aggregationFn' | 'cell' | 'columns' | 'filterFn' | 'footer' | 'header' | 'id' | 'sortingFn'> { /** * Either an `accessorKey` or a combination of an `accessorFn` and `id` are required for a data column definition. * Specify a function here to point to the correct property in the data object. * * @example accessorFn: (row) => row.username */ accessorFn?: (originalRow: TData) => TValue; /** * Either an `accessorKey` or a combination of an `accessorFn` and `id` are required for a data column definition. * Specify which key in the row this column should use to access the correct data. * Also supports Deep Key Dot Notation. * * @example accessorKey: 'username' //simple * @example accessorKey: 'name.firstName' //deep key dot notation */ accessorKey?: DeepKeys | (string & {}); AggregatedCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; staticColumnIndex?: number; staticRowIndex?: number; }) => ReactNode; aggregationFn?: Array> | MRT_AggregationFn; Cell?: (props: { cell: MRT_Cell; column: MRT_Column; renderedCellValue: ReactNode; row: MRT_Row; rowRef?: RefObject; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; }) => ReactNode; /** * Specify what type of column this is. Either `data`, `display`, or `group`. Defaults to `data`. * Leave this blank if you are just creating a normal data column. * * @default 'data' * * @example columnDefType: 'display' */ columnDefType?: 'data' | 'display' | 'group'; columnFilterModeOptions?: Array> | null; columns?: MRT_ColumnDef[]; Edit?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; editSelectOptions?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => DropdownOption[]) | DropdownOption[]; editVariant?: 'select' | 'text'; enableClickToCopy?: 'context-menu' | ((cell: MRT_Cell) => 'context-menu' | boolean) | boolean; enableColumnActions?: boolean; enableColumnDragging?: boolean; enableColumnFilterModes?: boolean; enableColumnOrdering?: boolean; enableEditing?: ((row: MRT_Row) => boolean) | boolean; enableFilterMatchHighlighting?: boolean; Filter?: (props: { column: MRT_Column; header: MRT_Header; rangeFilterIndex?: number; table: MRT_TableInstance; }) => ReactNode; filterFn?: MRT_FilterFn; filterSelectOptions?: DropdownOption[]; filterVariant?: 'autocomplete' | 'checkbox' | 'date' | 'date-range' | 'datetime' | 'datetime-range' | 'multi-select' | 'range' | 'range-slider' | 'select' | 'text' | 'time' | 'time-range'; /** * footer must be a string. If you want custom JSX to render the footer, you can also specify a `Footer` option. (Capital F) */ footer?: string; Footer?: ((props: { column: MRT_Column; footer: MRT_Header; table: MRT_TableInstance; }) => ReactNode) | ReactNode; GroupedCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; staticColumnIndex?: number; staticRowIndex?: number; }) => ReactNode; /** * If `layoutMode` is `'grid'` or `'grid-no-grow'`, you can specify the flex grow value for individual columns to still grow and take up remaining space, or set to `false`/0 to not grow. */ grow?: boolean | number; /** * header must be a string. If you want custom JSX to render the header, you can also specify a `Header` option. (Capital H) */ header: string; Header?: ((props: { column: MRT_Column; header: MRT_Header; table: MRT_TableInstance; }) => ReactNode) | ReactNode; /** * Either an `accessorKey` or a combination of an `accessorFn` and `id` are required for a data column definition. * * If you have also specified an `accessorFn`, MRT still needs to have a valid `id` to be able to identify the column uniquely. * * `id` defaults to the `accessorKey` or `header` if not specified. * * @default gets set to the same value as `accessorKey` by default */ id?: LiteralUnion; muiColumnActionsButtonProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiColumnDragHandleProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiCopyButtonProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ButtonProps) | ButtonProps; muiEditTextFieldProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => TextFieldProps) | TextFieldProps; muiFilterAutocompleteProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => AutocompleteProps) | AutocompleteProps; muiFilterCheckboxProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => CheckboxProps) | CheckboxProps; muiFilterDatePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => DatePickerProps) | DatePickerProps; muiFilterDateTimePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => DateTimePickerProps) | DateTimePickerProps; muiFilterSliderProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => SliderProps) | SliderProps; muiFilterTextFieldProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => TextFieldProps) | TextFieldProps; muiFilterTimePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => TimePickerProps) | TimePickerProps; muiTableBodyCellProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiTableFooterCellProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiTableHeadCellProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; PlaceholderCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderCellActionMenuItems?: (props: { cell: MRT_Cell; closeMenu: () => void; column: MRT_Column; internalMenuItems: ReactNode[]; row: MRT_Row; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; }) => ReactNode[]; renderColumnActionsMenuItems?: (props: { closeMenu: () => void; column: MRT_Column; internalColumnMenuItems: ReactNode[]; table: MRT_TableInstance; }) => ReactNode[]; renderColumnFilterModeMenuItems?: (props: { column: MRT_Column; internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode[]; sortingFn?: MRT_SortingFn; visibleInShowHideMenu?: boolean; } type MRT_DisplayColumnDef = Omit, 'accessorFn' | 'accessorKey'>; type MRT_GroupColumnDef = MRT_DisplayColumnDef & { columns: MRT_ColumnDef[]; }; type MRT_DefinedColumnDef = Omit, 'defaultDisplayColumn' | 'id'> & { _filterFn: MRT_FilterOption; defaultDisplayColumn: Partial>; id: string; }; type MRT_Column = Omit, 'columnDef' | 'columns' | 'filterFn' | 'footer' | 'header'> & { columnDef: MRT_DefinedColumnDef; columns?: MRT_Column[]; filterFn?: MRT_FilterFn; footer: string; header: string; }; type MRT_Header = Omit, 'column'> & { column: MRT_Column; }; type MRT_HeaderGroup = Omit, 'headers'> & { headers: MRT_Header[]; }; type MRT_Row = Omit, '_valuesCache' | 'getAllCells' | 'getParentRow' | 'getParentRows' | 'getRow' | 'getVisibleCells' | 'subRows'> & { _valuesCache: Record>, any>; getAllCells: () => MRT_Cell[]; getParentRow: () => MRT_Row | null; getParentRows: () => MRT_Row[]; getRow: () => MRT_Row; getVisibleCells: () => MRT_Cell[]; subRows?: MRT_Row[]; }; type MRT_Cell = Omit, 'column' | 'row'> & { column: MRT_Column; row: MRT_Row; }; type MRT_AggregationOption = string & keyof typeof MRT_AggregationFns; type MRT_AggregationFn = AggregationFn | MRT_AggregationOption; type MRT_SortingOption = LiteralUnion; type MRT_SortingFn = MRT_SortingOption | SortingFn; type MRT_FilterOption = LiteralUnion; type MRT_FilterFn = FilterFn | MRT_FilterOption; type MRT_InternalFilterOption = { divider: boolean; label: string; option: string; symbol: string; }; type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-drag' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-pin' | 'mrt-row-select' | 'mrt-row-spacer'; /** * `columns` and `data` props are the only required props, but there are over 170 other optional props. * * See more info on creating columns and data on the official docs site: * @link https://www.material-react-table.com/docs/getting-started/usage * * See the full props list on the official docs site: * @link https://www.material-react-table.com/docs/api/props */ interface MRT_TableOptions extends Omit>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> { columnFilterDisplayMode?: 'custom' | 'popover' | 'subheader'; columnFilterModeOptions?: Array> | null; /** * The columns to display in the table. `accessorKey`s or `accessorFn`s must match keys in the `data` table option. * * See more info on creating columns on the official docs site: * @link https://www.material-react-table.com/docs/guides/data-columns * @link https://www.material-react-table.com/docs/guides/display-columns * * See all Columns Options on the official docs site: * @link https://www.material-react-table.com/docs/api/column-options */ columns: MRT_ColumnDef[]; columnVirtualizerInstanceRef?: RefObject; columnVirtualizerOptions?: ((props: { table: MRT_TableInstance; }) => Partial>) | Partial>; createDisplayMode?: 'custom' | 'modal' | 'row'; /** * Pass your data as an array of objects. Objects can theoretically be any shape, but it's best to keep them consistent. * * See the usage guide for more info on creating columns and data: * @link https://www.material-react-table.com/docs/getting-started/usage */ data: TData[]; /** * Instead of specifying a bunch of the same options for each column, you can just change an option in the `defaultColumn` table option to change a default option for all columns. */ defaultColumn?: Partial>; /** * Change the default options for display columns. */ defaultDisplayColumn?: Partial>; displayColumnDefOptions?: Partial<{ [key in MRT_DisplayColumnIds]: Partial>; }>; editDisplayMode?: 'cell' | 'custom' | 'modal' | 'row' | 'table'; enableBatchRowSelection?: boolean; enableBottomToolbar?: boolean; enableCellActions?: ((cell: MRT_Cell) => boolean) | boolean; enableClickToCopy?: 'context-menu' | ((cell: MRT_Cell) => 'context-menu' | boolean) | boolean; enableColumnActions?: boolean; enableColumnDragging?: boolean; enableColumnFilterModes?: boolean; enableColumnOrdering?: boolean; enableColumnVirtualization?: boolean; enableDensityToggle?: boolean; enableEditing?: ((row: MRT_Row) => boolean) | boolean; enableExpandAll?: boolean; enableFacetedValues?: boolean; enableFilterMatchHighlighting?: boolean; enableFullScreenToggle?: boolean; enableGlobalFilterModes?: boolean; enableGlobalFilterRankedResults?: boolean; enableKeyboardShortcuts?: boolean; enablePagination?: boolean; enableRowActions?: boolean; enableRowDragging?: boolean; enableRowNumbers?: boolean; enableRowOrdering?: boolean; enableRowSelection?: ((row: MRT_Row) => boolean) | boolean; enableRowVirtualization?: boolean; enableSelectAll?: boolean; enableStickyFooter?: boolean; enableStickyHeader?: boolean; enableTableFooter?: boolean; enableTableHead?: boolean; enableToolbarInternalActions?: boolean; enableTopToolbar?: boolean; expandRowsFn?: (dataRow: TData) => TData[]; getRowId?: (originalRow: TData, index: number, parentRow: MRT_Row) => string; globalFilterFn?: MRT_FilterOption; globalFilterModeOptions?: MRT_FilterOption[] | null; icons?: Partial; id?: string; initialState?: Partial>; /** * Changes which kind of CSS layout is used to render the table. `semantic` uses default semantic HTML elements, while `grid` adds CSS grid and flexbox styles */ layoutMode?: 'grid' | 'grid-no-grow' | 'semantic'; /** * Pass in either a locale imported from `material-react-table/locales/*` or a custom locale object. * * See the localization (i18n) guide for more info: * @link https://www.material-react-table.com/docs/guides/localization */ localization?: Partial; /** * Memoize cells, rows, or the entire table body to potentially improve render performance. * * @warning This will break some dynamic rendering features. See the memoization guide for more info: * @link https://www.material-react-table.com/docs/guides/memoize-components */ memoMode?: 'cells' | 'rows' | 'table-body'; mrtTheme?: ((theme: Theme) => Partial) | Partial; muiBottomToolbarProps?: ((props: { table: MRT_TableInstance; }) => BoxProps) | BoxProps; muiCircularProgressProps?: ((props: { table: MRT_TableInstance; }) => CircularProgressProps & { Component?: ReactNode; }) | (CircularProgressProps & { Component?: ReactNode; }); muiColumnActionsButtonProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiColumnDragHandleProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiCopyButtonProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ButtonProps) | ButtonProps; muiCreateRowModalProps?: ((props: { row: MRT_Row; table: MRT_TableInstance; }) => DialogProps) | DialogProps; muiDetailPanelProps?: ((props: { row: MRT_Row; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiEditRowDialogProps?: ((props: { row: MRT_Row; table: MRT_TableInstance; }) => DialogProps) | DialogProps; muiEditTextFieldProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => TextFieldProps) | TextFieldProps; muiExpandAllButtonProps?: ((props: { table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiExpandButtonProps?: ((props: { row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiFilterAutocompleteProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => AutocompleteProps) | AutocompleteProps; muiFilterCheckboxProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => CheckboxProps) | CheckboxProps; muiFilterDatePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => DatePickerProps) | DatePickerProps; muiFilterDateTimePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => DateTimePickerProps) | DateTimePickerProps; muiFilterSliderProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => SliderProps) | SliderProps; muiFilterTextFieldProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => TextFieldProps) | TextFieldProps; muiFilterTimePickerProps?: ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => TimePickerProps) | TimePickerProps; muiLinearProgressProps?: ((props: { isTopToolbar: boolean; table: MRT_TableInstance; }) => LinearProgressProps) | LinearProgressProps; muiPaginationProps?: ((props: { table: MRT_TableInstance; }) => Partial; disabled?: boolean; rowsPerPageOptions?: { label: string; value: number; }[] | number[]; showRowsPerPage?: boolean; }>) | Partial; disabled?: boolean; rowsPerPageOptions?: { label: string; value: number; }[] | number[]; showRowsPerPage?: boolean; }>; muiRowDragHandleProps?: ((props: { row: MRT_Row; table: MRT_TableInstance; }) => IconButtonProps) | IconButtonProps; muiSearchTextFieldProps?: ((props: { table: MRT_TableInstance; }) => TextFieldProps) | TextFieldProps; muiSelectAllCheckboxProps?: ((props: { table: MRT_TableInstance; }) => CheckboxProps) | CheckboxProps; muiSelectCheckboxProps?: ((props: { row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; }) => CheckboxProps | RadioProps) | (CheckboxProps | RadioProps); muiSkeletonProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => SkeletonProps) | SkeletonProps; muiTableBodyCellProps?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiTableBodyProps?: ((props: { table: MRT_TableInstance; }) => TableBodyProps) | TableBodyProps; muiTableBodyRowProps?: ((props: { isDetailPanel?: boolean; row: MRT_Row; staticRowIndex: number; table: MRT_TableInstance; }) => TableRowProps) | TableRowProps; muiTableContainerProps?: ((props: { table: MRT_TableInstance; }) => TableContainerProps) | TableContainerProps; muiTableFooterCellProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiTableFooterProps?: ((props: { table: MRT_TableInstance; }) => TableFooterProps) | TableFooterProps; muiTableFooterRowProps?: ((props: { footerGroup: MRT_HeaderGroup; table: MRT_TableInstance; }) => TableRowProps) | TableRowProps; muiTableHeadCellProps?: ((props: { column: MRT_Column; table: MRT_TableInstance; }) => TableCellProps) | TableCellProps; muiTableHeadProps?: ((props: { table: MRT_TableInstance; }) => TableHeadProps) | TableHeadProps; muiTableHeadRowProps?: ((props: { headerGroup: MRT_HeaderGroup; table: MRT_TableInstance; }) => TableRowProps) | TableRowProps; muiTablePaperProps?: ((props: { table: MRT_TableInstance; }) => PaperProps) | PaperProps; muiTableProps?: ((props: { table: MRT_TableInstance; }) => TableProps) | TableProps; muiToolbarAlertBannerChipProps?: ((props: { table: MRT_TableInstance; }) => ChipProps) | ChipProps; muiToolbarAlertBannerProps?: ((props: { table: MRT_TableInstance; }) => AlertProps) | AlertProps; muiTopToolbarProps?: ((props: { table: MRT_TableInstance; }) => BoxProps) | BoxProps; onActionCellChange?: OnChangeFn | null>; onColumnFilterFnsChange?: OnChangeFn<{ [key: string]: MRT_FilterOption; }>; onCreatingRowCancel?: (props: { row: MRT_Row; table: MRT_TableInstance; }) => void; onCreatingRowChange?: OnChangeFn | null>; onCreatingRowSave?: (props: { exitCreatingMode: () => void; row: MRT_Row; table: MRT_TableInstance; values: Record>, any>; }) => Promise | void; onDensityChange?: OnChangeFn; onDraggingColumnChange?: OnChangeFn | null>; onDraggingRowChange?: OnChangeFn | null>; onEditingCellChange?: OnChangeFn | null>; onEditingRowCancel?: (props: { row: MRT_Row; table: MRT_TableInstance; }) => void; onEditingRowChange?: OnChangeFn | null>; onEditingRowSave?: (props: { exitEditingMode: () => void; row: MRT_Row; table: MRT_TableInstance; values: Record>, any>; }) => Promise | void; onGlobalFilterFnChange?: OnChangeFn; onHoveredColumnChange?: OnChangeFn> | null>; onHoveredRowChange?: OnChangeFn> | null>; onIsFullScreenChange?: OnChangeFn; onShowAlertBannerChange?: OnChangeFn; onShowColumnFiltersChange?: OnChangeFn; onShowGlobalFilterChange?: OnChangeFn; onShowToolbarDropZoneChange?: OnChangeFn; paginationDisplayMode?: 'custom' | 'default' | 'pages'; positionActionsColumn?: 'first' | 'last'; positionCreatingRow?: 'bottom' | 'top' | number; positionExpandColumn?: 'first' | 'last'; positionGlobalFilter?: 'left' | 'none' | 'right'; positionPagination?: 'both' | 'bottom' | 'none' | 'top'; positionToolbarAlertBanner?: 'bottom' | 'head-overlay' | 'none' | 'top'; positionToolbarDropZone?: 'both' | 'bottom' | 'none' | 'top'; renderBottomToolbar?: ((props: { table: MRT_TableInstance; }) => ReactNode) | ReactNode; renderBottomToolbarCustomActions?: (props: { table: MRT_TableInstance; }) => ReactNode; renderCaption?: ((props: { table: MRT_TableInstance; }) => ReactNode) | ReactNode; renderCellActionMenuItems?: (props: { cell: MRT_Cell; closeMenu: () => void; column: MRT_Column; internalMenuItems: ReactNode[]; row: MRT_Row; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; }) => ReactNode[]; renderColumnActionsMenuItems?: (props: { closeMenu: () => void; column: MRT_Column; internalColumnMenuItems: ReactNode[]; table: MRT_TableInstance; }) => ReactNode[]; renderColumnFilterModeMenuItems?: (props: { column: MRT_Column; internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode[]; renderCreateRowDialogContent?: (props: { internalEditComponents: ReactNode[]; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderDetailPanel?: (props: { row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderEditRowDialogContent?: (props: { internalEditComponents: ReactNode[]; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderEmptyRowsFallback?: (props: { table: MRT_TableInstance; }) => ReactNode; renderGlobalFilterModeMenuItems?: (props: { internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode[]; renderRowActionMenuItems?: (props: { closeMenu: () => void; row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; }) => ReactNode[] | undefined; renderRowActions?: (props: { cell: MRT_Cell; row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; }) => ReactNode; renderToolbarAlertBannerContent?: (props: { groupedAlert: ReactNode | null; selectedAlert: ReactNode | null; table: MRT_TableInstance; }) => ReactNode; renderToolbarInternalActions?: (props: { table: MRT_TableInstance; }) => ReactNode; renderTopToolbar?: ((props: { table: MRT_TableInstance; }) => ReactNode) | ReactNode; renderTopToolbarCustomActions?: (props: { table: MRT_TableInstance; }) => ReactNode; rowNumberDisplayMode?: 'original' | 'static'; rowPinningDisplayMode?: 'bottom' | 'select-bottom' | 'select-sticky' | 'select-top' | 'sticky' | 'top' | 'top-and-bottom'; rowVirtualizerInstanceRef?: RefObject; rowVirtualizerOptions?: ((props: { table: MRT_TableInstance; }) => Partial>) | Partial>; selectAllMode?: 'all' | 'page'; /** * Manage state externally any way you want, then pass it back into MRT. */ state?: Partial>; } declare const flexRender: (Comp: Renderable, props: any) => JSX.Element | ReactNode; declare function createMRTColumnHelper(): MRT_ColumnHelper; declare const createRow: (table: MRT_TableInstance, originalRow?: TData, rowIndex?: number, depth?: number, subRows?: MRT_Row[], parentId?: string) => MRT_Row; declare const isCellEditable: ({ cell, table, }: { cell: MRT_Cell; table: MRT_TableInstance; }) => boolean | undefined; declare const openEditingCell: ({ cell, table, }: { cell: MRT_Cell; table: MRT_TableInstance; }) => void; declare const cellKeyboardShortcuts: ({ cell, cellElements, cellValue, containerElement, event, header, parentElement, table, }: { cell?: MRT_Cell; header?: MRT_Header; cellElements?: Array; cellValue?: string; containerElement?: HTMLTableElement; event: React.KeyboardEvent; parentElement?: HTMLTableRowElement; table: MRT_TableInstance; }) => void; declare const getColumnId: (columnDef: MRT_ColumnDef) => string; declare const getAllLeafColumnDefs: (columns: MRT_ColumnDef[]) => MRT_ColumnDef[]; declare const prepareColumns: ({ columnDefs, tableOptions, }: { columnDefs: MRT_ColumnDef[]; tableOptions: MRT_DefinedTableOptions; }) => MRT_DefinedColumnDef[]; declare const reorderColumn: (draggedColumn: MRT_Column, targetColumn: MRT_Column, columnOrder: MRT_ColumnOrderState) => MRT_ColumnOrderState; declare const getDefaultColumnFilterFn: (columnDef: MRT_ColumnDef) => MRT_FilterOption; declare const getColumnFilterInfo: ({ header, table, }: { header: MRT_Header; table: MRT_TableInstance; }) => { readonly allowedColumnFilterOptions: LiteralUnion[] | null | undefined; readonly currentFilterOption: MRT_FilterOption; readonly facetedUniqueValues: Map; readonly isAutocompleteFilter: boolean; readonly isDateFilter: boolean; readonly isMultiSelectFilter: boolean; readonly isRangeFilter: boolean; readonly isSelectFilter: boolean; readonly isTextboxFilter: boolean; }; declare const useDropdownOptions: ({ header, table, }: { header: MRT_Header; table: MRT_TableInstance; }) => DropdownOption[] | undefined; declare function defaultDisplayColumnProps({ header, id, size, tableOptions, }: { header?: keyof MRT_Localization; id: MRT_DisplayColumnIds; size: number; tableOptions: MRT_DefinedTableOptions; }): { readonly id: MRT_DisplayColumnIds; readonly header: string; readonly getUniqueValues?: _tanstack_react_table.AccessorFn | undefined; readonly getGroupingValue?: ((row: TData) => any) | undefined; readonly aggregationFn?: MRT_AggregationFn | MRT_AggregationFn[] | undefined; readonly columns?: MRT_ColumnDef[] | undefined; readonly filterFn?: MRT_FilterFn | undefined; readonly footer?: string; readonly sortingFn?: MRT_SortingFn | undefined; readonly meta?: _tanstack_react_table.ColumnMeta | undefined; readonly enableHiding?: boolean; readonly enablePinning?: boolean; readonly enableColumnFilter?: boolean; readonly enableGlobalFilter?: boolean; readonly enableMultiSort?: boolean; readonly enableSorting?: boolean; readonly invertSorting?: boolean; readonly sortDescFirst?: boolean; readonly sortUndefined?: false | -1 | 1 | "first" | "last"; readonly enableGrouping?: boolean; readonly enableResizing?: boolean; readonly maxSize?: number; readonly minSize?: number; readonly size: number; readonly AggregatedCell?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; staticColumnIndex?: number; staticRowIndex?: number; }) => react.ReactNode) | undefined; readonly Cell?: ((props: { cell: MRT_Cell; column: MRT_Column; renderedCellValue: react.ReactNode; row: MRT_Row; rowRef?: react.RefObject; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; }) => react.ReactNode) | undefined; readonly columnDefType?: "data" | "display" | "group"; readonly columnFilterModeOptions?: Array> | null; readonly Edit?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => react.ReactNode) | undefined; readonly editSelectOptions?: DropdownOption[] | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => DropdownOption[]) | undefined; readonly editVariant?: "select" | "text"; readonly enableClickToCopy?: boolean | "context-menu" | ((cell: MRT_Cell) => "context-menu" | boolean) | undefined; readonly enableColumnActions?: boolean; readonly enableColumnDragging?: boolean; readonly enableColumnFilterModes?: boolean; readonly enableColumnOrdering?: boolean; readonly enableEditing?: boolean | ((row: MRT_Row) => boolean) | undefined; readonly enableFilterMatchHighlighting?: boolean; readonly Filter?: ((props: { column: MRT_Column; header: MRT_Header; rangeFilterIndex?: number; table: MRT_TableInstance; }) => react.ReactNode) | undefined; readonly filterSelectOptions?: DropdownOption[]; readonly filterVariant?: "autocomplete" | "checkbox" | "date" | "date-range" | "datetime" | "datetime-range" | "multi-select" | "range" | "range-slider" | "select" | "text" | "time" | "time-range"; readonly Footer?: react.ReactNode | ((props: { column: MRT_Column; footer: MRT_Header; table: MRT_TableInstance; }) => react.ReactNode); readonly GroupedCell?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; staticColumnIndex?: number; staticRowIndex?: number; }) => react.ReactNode) | undefined; readonly grow?: boolean | number; readonly Header?: react.ReactNode | ((props: { column: MRT_Column; header: MRT_Header; table: MRT_TableInstance; }) => react.ReactNode); readonly muiColumnActionsButtonProps?: _mui_material.IconButtonProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.IconButtonProps) | undefined; readonly muiColumnDragHandleProps?: _mui_material.IconButtonProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.IconButtonProps) | undefined; readonly muiCopyButtonProps?: _mui_material.ButtonProps | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => _mui_material.ButtonProps) | undefined; readonly muiEditTextFieldProps?: _mui_material.TextFieldProps | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => _mui_material.TextFieldProps) | undefined; readonly muiFilterAutocompleteProps?: _mui_material.AutocompleteProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.AutocompleteProps) | undefined; readonly muiFilterCheckboxProps?: _mui_material.CheckboxProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.CheckboxProps) | undefined; readonly muiFilterDatePickerProps?: _mui_x_date_pickers.DatePickerProps | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => _mui_x_date_pickers.DatePickerProps) | undefined; readonly muiFilterDateTimePickerProps?: _mui_x_date_pickers.DateTimePickerProps | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => _mui_x_date_pickers.DateTimePickerProps) | undefined; readonly muiFilterSliderProps?: _mui_material.SliderProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.SliderProps) | undefined; readonly muiFilterTextFieldProps?: _mui_material.TextFieldProps | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => _mui_material.TextFieldProps) | undefined; readonly muiFilterTimePickerProps?: _mui_x_date_pickers.TimePickerProps | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => _mui_x_date_pickers.TimePickerProps) | undefined; readonly muiTableBodyCellProps?: _mui_material.TableCellProps | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => _mui_material.TableCellProps) | undefined; readonly muiTableFooterCellProps?: _mui_material.TableCellProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.TableCellProps) | undefined; readonly muiTableHeadCellProps?: _mui_material.TableCellProps | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => _mui_material.TableCellProps) | undefined; readonly PlaceholderCell?: ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => react.ReactNode) | undefined; readonly renderCellActionMenuItems?: ((props: { cell: MRT_Cell; closeMenu: () => void; column: MRT_Column; internalMenuItems: react.ReactNode[]; row: MRT_Row; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; }) => react.ReactNode[]) | undefined; readonly renderColumnActionsMenuItems?: ((props: { closeMenu: () => void; column: MRT_Column; internalColumnMenuItems: react.ReactNode[]; table: MRT_TableInstance; }) => react.ReactNode[]) | undefined; readonly renderColumnFilterModeMenuItems?: ((props: { column: MRT_Column; internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => react.ReactNode[]) | undefined; readonly visibleInShowHideMenu?: boolean; }; declare const showRowPinningColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowDragColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowExpandColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowActionsColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowSelectionColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowNumbersColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const showRowSpacerColumn: (tableOptions: MRT_StatefulTableOptions) => boolean; declare const getLeadingDisplayColumnIds: (tableOptions: MRT_StatefulTableOptions) => MRT_DisplayColumnIds[]; declare const getTrailingDisplayColumnIds: (tableOptions: MRT_StatefulTableOptions) => MRT_DisplayColumnIds[]; declare const getDefaultColumnOrderIds: (tableOptions: MRT_StatefulTableOptions, reset?: boolean) => string[]; declare const getMRT_Rows: (table: MRT_TableInstance, all?: boolean) => MRT_Row[]; declare const getCanRankRows: (table: MRT_TableInstance) => boolean | undefined; declare const getIsRankingRows: (table: MRT_TableInstance) => any; declare const getIsRowSelected: ({ row, table, }: { row: MRT_Row; table: MRT_TableInstance; }) => boolean | undefined; declare const getMRT_RowSelectionHandler: ({ row, staticRowIndex, table, }: { row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; }) => (event: ChangeEvent | MouseEvent, value?: boolean) => void; declare const getMRT_SelectAllHandler: ({ table }: { table: MRT_TableInstance; }) => (event: ChangeEvent | MouseEvent, value?: boolean, forceAll?: boolean) => void; declare const useMaterialReactTable: (tableOptions: MRT_TableOptions) => MRT_TableInstance; declare const useMRT_ColumnVirtualizer: (table: MRT_TableInstance) => MRT_ColumnVirtualizer | undefined; declare const useMRT_Effects: (table: MRT_TableInstance) => void; declare const useMRT_RowVirtualizer: (table: MRT_TableInstance, rows?: MRT_Row[]) => MRT_RowVirtualizer | undefined; declare const useMRT_Rows: (table: MRT_TableInstance) => MRT_Row[]; /** * The MRT hook that wraps the TanStack useReactTable hook and adds additional functionality * @param definedTableOptions - table options with proper defaults set * @returns the MRT table instance */ declare const useMRT_TableInstance: (definedTableOptions: MRT_DefinedTableOptions) => MRT_TableInstance; declare const MRT_DefaultColumn: { readonly filterVariant: "text"; readonly maxSize: 1000; readonly minSize: 40; readonly size: 180; }; declare const MRT_DefaultDisplayColumn: { readonly columnDefType: "display"; readonly enableClickToCopy: false; readonly enableColumnActions: false; readonly enableColumnDragging: false; readonly enableColumnFilter: false; readonly enableColumnOrdering: false; readonly enableEditing: false; readonly enableGlobalFilter: false; readonly enableGrouping: false; readonly enableHiding: false; readonly enableResizing: false; readonly enableSorting: false; }; declare const useMRT_TableOptions: (tableOptions: MRT_TableOptions) => MRT_DefinedTableOptions; type TableInstanceProp = { table: MRT_TableInstance; }; type MaterialReactTableProps = Xor, MRT_TableOptions>; declare const MaterialReactTable: (props: MaterialReactTableProps) => react_jsx_runtime.JSX.Element; interface MRT_TableBodyProps extends TableBodyProps { columnVirtualizer?: MRT_ColumnVirtualizer; table: MRT_TableInstance; } declare const MRT_TableBody: ({ columnVirtualizer, table, ...rest }: MRT_TableBodyProps) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBody: typeof MRT_TableBody; interface MRT_TableBodyCellProps extends TableCellProps { cell: MRT_Cell; numRows?: number; rowRef: RefObject; staticColumnIndex?: number; staticRowIndex: number; table: MRT_TableInstance; } declare const MRT_TableBodyCell: ({ cell, numRows, rowRef, staticColumnIndex, staticRowIndex, table, ...rest }: MRT_TableBodyCellProps) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBodyCell: typeof MRT_TableBodyCell; interface MRT_TableBodyCellValueProps { cell: MRT_Cell; rowRef?: RefObject; staticColumnIndex?: number; staticRowIndex?: number; table: MRT_TableInstance; } declare const MRT_TableBodyCellValue: ({ cell, rowRef, staticColumnIndex, staticRowIndex, table, }: MRT_TableBodyCellValueProps) => ReactNode; interface MRT_TableBodyRowProps extends TableRowProps { columnVirtualizer?: MRT_ColumnVirtualizer; numRows?: number; pinnedRowIds?: string[]; row: MRT_Row; rowVirtualizer?: MRT_RowVirtualizer; staticRowIndex: number; table: MRT_TableInstance; virtualRow?: VirtualItem; } declare const MRT_TableBodyRow: ({ columnVirtualizer, numRows, pinnedRowIds, row, rowVirtualizer, staticRowIndex, table, virtualRow, ...rest }: MRT_TableBodyRowProps) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBodyRow: typeof MRT_TableBodyRow; interface MRT_TableBodyRowGrabHandleProps extends IconButtonProps { row: MRT_Row; rowRef: RefObject; table: MRT_TableInstance; } declare const MRT_TableBodyRowGrabHandle: ({ row, rowRef, table, ...rest }: MRT_TableBodyRowGrabHandleProps) => react_jsx_runtime.JSX.Element; interface MRT_TableBodyRowPinButtonProps extends IconButtonProps { row: MRT_Row; table: MRT_TableInstance; } declare const MRT_TableBodyRowPinButton: ({ row, table, ...rest }: MRT_TableBodyRowPinButtonProps) => react_jsx_runtime.JSX.Element | null; interface MRT_TableDetailPanelProps extends TableCellProps { parentRowRef: RefObject; row: MRT_Row; rowVirtualizer?: MRT_RowVirtualizer; staticRowIndex: number; table: MRT_TableInstance; virtualRow?: MRT_VirtualItem; } declare const MRT_TableDetailPanel: ({ parentRowRef, row, rowVirtualizer, staticRowIndex, table, virtualRow, ...rest }: MRT_TableDetailPanelProps) => react_jsx_runtime.JSX.Element; interface MRT_ColumnPinningButtonsProps extends BoxProps { column: MRT_Column; table: MRT_TableInstance; } declare const MRT_ColumnPinningButtons: ({ column, table, ...rest }: MRT_ColumnPinningButtonsProps) => react_jsx_runtime.JSX.Element; interface MRT_CopyButtonProps extends ButtonProps { cell: MRT_Cell; table: MRT_TableInstance; } declare const MRT_CopyButton: ({ cell, table, ...rest }: MRT_CopyButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_EditActionButtonsProps extends BoxProps { row: MRT_Row; table: MRT_TableInstance; variant?: 'icon' | 'text'; } declare const MRT_EditActionButtons: ({ row, table, variant, ...rest }: MRT_EditActionButtonsProps) => react_jsx_runtime.JSX.Element; interface MRT_ExpandAllButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ExpandAllButton: ({ table, ...rest }: MRT_ExpandAllButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ExpandButtonProps extends IconButtonProps { row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; } declare const MRT_ExpandButton: ({ row, staticRowIndex, table, }: MRT_ExpandButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_GrabHandleButtonProps extends IconButtonProps { iconButtonProps?: IconButtonProps; location?: 'column' | 'row'; onDragEnd: DragEventHandler; onDragStart: DragEventHandler; table: MRT_TableInstance; } declare const MRT_GrabHandleButton: ({ location, table, ...rest }: MRT_GrabHandleButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_RowPinButtonProps extends IconButtonProps { pinningPosition: RowPinningPosition; row: MRT_Row; table: MRT_TableInstance; } declare const MRT_RowPinButton: ({ pinningPosition, row, table, ...rest }: MRT_RowPinButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ShowHideColumnsButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ShowHideColumnsButton: ({ table, ...rest }: MRT_ShowHideColumnsButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ToggleDensePaddingButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ToggleDensePaddingButton: ({ table, ...rest }: MRT_ToggleDensePaddingButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ToggleFiltersButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ToggleFiltersButton: ({ table, ...rest }: MRT_ToggleFiltersButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ToggleFullScreenButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ToggleFullScreenButton: ({ table, ...rest }: MRT_ToggleFullScreenButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ToggleGlobalFilterButtonProps extends IconButtonProps { table: MRT_TableInstance; } declare const MRT_ToggleGlobalFilterButton: ({ table, ...rest }: MRT_ToggleGlobalFilterButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_ToggleRowActionMenuButtonProps extends IconButtonProps { cell: MRT_Cell; row: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; } declare const MRT_ToggleRowActionMenuButton: ({ cell, row, staticRowIndex, table, ...rest }: MRT_ToggleRowActionMenuButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_TableFooterProps extends TableFooterProps { columnVirtualizer?: MRT_ColumnVirtualizer; table: MRT_TableInstance; } declare const MRT_TableFooter: ({ columnVirtualizer, table, ...rest }: MRT_TableFooterProps) => react_jsx_runtime.JSX.Element | null; interface MRT_TableFooterCellProps extends TableCellProps { footer: MRT_Header; staticColumnIndex?: number; table: MRT_TableInstance; } declare const MRT_TableFooterCell: ({ footer, staticColumnIndex, table, ...rest }: MRT_TableFooterCellProps) => react_jsx_runtime.JSX.Element; interface MRT_TableFooterRowProps extends TableRowProps { columnVirtualizer?: MRT_ColumnVirtualizer; footerGroup: MRT_HeaderGroup; table: MRT_TableInstance; } declare const MRT_TableFooterRow: ({ columnVirtualizer, footerGroup, table, ...rest }: MRT_TableFooterRowProps) => react_jsx_runtime.JSX.Element | null; interface MRT_TableHeadProps extends TableHeadProps { columnVirtualizer?: MRT_ColumnVirtualizer; table: MRT_TableInstance; } declare const MRT_TableHead: ({ columnVirtualizer, table, ...rest }: MRT_TableHeadProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellProps extends TableCellProps { columnVirtualizer?: MRT_ColumnVirtualizer; header: MRT_Header; staticColumnIndex?: number; table: MRT_TableInstance; } declare const MRT_TableHeadCell: ({ columnVirtualizer, header, staticColumnIndex, table, ...rest }: MRT_TableHeadCellProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellColumnActionsButtonProps extends IconButtonProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellColumnActionsButton: ({ header, table, ...rest }: MRT_TableHeadCellColumnActionsButtonProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellFilterContainerProps extends CollapseProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellFilterContainer: ({ header, table, ...rest }: MRT_TableHeadCellFilterContainerProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellFilterLabelProps extends IconButtonProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellFilterLabel: ({ header, table, ...rest }: MRT_TableHeadCellFilterLabelProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellGrabHandleProps extends IconButtonProps { column: MRT_Column; table: MRT_TableInstance; tableHeadCellRef: RefObject; } declare const MRT_TableHeadCellGrabHandle: ({ column, table, tableHeadCellRef, ...rest }: MRT_TableHeadCellGrabHandleProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellResizeHandleProps extends DividerProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellResizeHandle: ({ header, table, ...rest }: MRT_TableHeadCellResizeHandleProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadCellSortLabelProps extends TableSortLabelProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellSortLabel: ({ header, table, ...rest }: MRT_TableHeadCellSortLabelProps) => react_jsx_runtime.JSX.Element; interface MRT_TableHeadRowProps extends TableRowProps { columnVirtualizer?: MRT_ColumnVirtualizer; headerGroup: MRT_HeaderGroup; table: MRT_TableInstance; } declare const MRT_TableHeadRow: ({ columnVirtualizer, headerGroup, table, ...rest }: MRT_TableHeadRowProps) => react_jsx_runtime.JSX.Element; interface MRT_EditCellTextFieldProps extends TextFieldProps<'standard'> { cell: MRT_Cell; table: MRT_TableInstance; } declare const MRT_EditCellTextField: ({ cell, table, ...rest }: MRT_EditCellTextFieldProps) => react_jsx_runtime.JSX.Element; interface MRT_FilterCheckboxProps extends CheckboxProps { column: MRT_Column; table: MRT_TableInstance; } declare const MRT_FilterCheckbox: ({ column, table, ...rest }: MRT_FilterCheckboxProps) => react_jsx_runtime.JSX.Element; interface MRT_FilterRangeFieldsProps extends BoxProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_FilterRangeFields: ({ header, table, ...rest }: MRT_FilterRangeFieldsProps) => react_jsx_runtime.JSX.Element; interface MRT_FilterRangeSliderProps extends SliderProps { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_FilterRangeSlider: ({ header, table, ...rest }: MRT_FilterRangeSliderProps) => react_jsx_runtime.JSX.Element; interface MRT_FilterTextFieldProps extends TextFieldProps<'standard'> { header: MRT_Header; rangeFilterIndex?: number; table: MRT_TableInstance; } declare const MRT_FilterTextField: ({ header, rangeFilterIndex, table, ...rest }: MRT_FilterTextFieldProps) => react_jsx_runtime.JSX.Element; interface MRT_GlobalFilterTextFieldProps extends TextFieldProps<'standard'> { table: MRT_TableInstance; } declare const MRT_GlobalFilterTextField: ({ table, ...rest }: MRT_GlobalFilterTextFieldProps) => react_jsx_runtime.JSX.Element; interface MRT_SelectCheckboxProps extends CheckboxProps { row?: MRT_Row; staticRowIndex?: number; table: MRT_TableInstance; } declare const MRT_SelectCheckbox: ({ row, staticRowIndex, table, ...rest }: MRT_SelectCheckboxProps) => react_jsx_runtime.JSX.Element; interface MRT_ActionMenuItemProps extends MenuItemProps { icon: ReactNode; label: string; onOpenSubMenu?: MenuItemProps['onClick'] | MenuItemProps['onMouseEnter']; table: MRT_TableInstance; } declare const MRT_ActionMenuItem: ({ icon, label, onOpenSubMenu, table, ...rest }: MRT_ActionMenuItemProps) => react_jsx_runtime.JSX.Element; interface MRT_ColumnActionMenuProps extends Partial { anchorEl: HTMLElement | null; header: MRT_Header; setAnchorEl: (anchorEl: HTMLElement | null) => void; table: MRT_TableInstance; } declare const MRT_ColumnActionMenu: ({ anchorEl, header, setAnchorEl, table, ...rest }: MRT_ColumnActionMenuProps) => react_jsx_runtime.JSX.Element; declare const mrtFilterOptions: (localization: MRT_Localization) => MRT_InternalFilterOption[]; interface MRT_FilterOptionMenuProps extends Partial { anchorEl: HTMLElement | null; header?: MRT_Header; onSelect?: () => void; setAnchorEl: (anchorEl: HTMLElement | null) => void; setFilterValue?: (filterValue: any) => void; table: MRT_TableInstance; } declare const MRT_FilterOptionMenu: ({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, ...rest }: MRT_FilterOptionMenuProps) => react_jsx_runtime.JSX.Element; interface MRT_RowActionMenuProps extends Partial { anchorEl: HTMLElement | null; handleEdit: (event: MouseEvent) => void; row: MRT_Row; setAnchorEl: (anchorEl: HTMLElement | null) => void; staticRowIndex?: number; table: MRT_TableInstance; } declare const MRT_RowActionMenu: ({ anchorEl, handleEdit, row, setAnchorEl, staticRowIndex, table, ...rest }: MRT_RowActionMenuProps) => react_jsx_runtime.JSX.Element | null; interface MRT_ShowHideColumnsMenuProps extends Partial { anchorEl: HTMLElement | null; isSubMenu?: boolean; setAnchorEl: (anchorEl: HTMLElement | null) => void; table: MRT_TableInstance; } declare const MRT_ShowHideColumnsMenu: ({ anchorEl, setAnchorEl, table, ...rest }: MRT_ShowHideColumnsMenuProps) => react_jsx_runtime.JSX.Element; interface MRT_ShowHideColumnsMenuItemsProps extends MenuItemProps { allColumns: MRT_Column[]; column: MRT_Column; hoveredColumn: MRT_Column | null; isNestedColumns: boolean; setHoveredColumn: Dispatch | null>>; table: MRT_TableInstance; } declare const MRT_ShowHideColumnsMenuItems: ({ allColumns, column, hoveredColumn, isNestedColumns, setHoveredColumn, table, ...rest }: MRT_ShowHideColumnsMenuItemsProps) => react_jsx_runtime.JSX.Element | null; interface MRT_EditRowModalProps extends Partial { open: boolean; table: MRT_TableInstance; } declare const MRT_EditRowModal: ({ open, table, ...rest }: MRT_EditRowModalProps) => react_jsx_runtime.JSX.Element; interface MRT_TableProps extends TableProps { table: MRT_TableInstance; } declare const MRT_Table: ({ table, ...rest }: MRT_TableProps) => react_jsx_runtime.JSX.Element; interface MRT_TableContainerProps extends TableContainerProps { table: MRT_TableInstance; } declare const MRT_TableContainer: ({ table, ...rest }: MRT_TableContainerProps) => react_jsx_runtime.JSX.Element; interface MRT_TableLoadingOverlayProps extends CircularProgressProps { table: MRT_TableInstance; } declare const MRT_TableLoadingOverlay: ({ table, ...rest }: MRT_TableLoadingOverlayProps) => react_jsx_runtime.JSX.Element; interface MRT_TablePaperProps extends PaperProps { table: MRT_TableInstance; } declare const MRT_TablePaper: ({ table, ...rest }: MRT_TablePaperProps) => react_jsx_runtime.JSX.Element; interface MRT_BottomToolbarProps extends BoxProps { table: MRT_TableInstance; } declare const MRT_BottomToolbar: ({ table, ...rest }: MRT_BottomToolbarProps) => react_jsx_runtime.JSX.Element; interface MRT_LinearProgressBarProps extends LinearProgressProps { isTopToolbar: boolean; table: MRT_TableInstance; } declare const MRT_LinearProgressBar: ({ isTopToolbar, table, ...rest }: MRT_LinearProgressBarProps) => react_jsx_runtime.JSX.Element; interface MRT_TablePaginationProps extends Partial; disabled?: boolean; rowsPerPageOptions?: { label: string; value: number; }[] | number[]; showRowsPerPage?: boolean; }> { position?: 'bottom' | 'top'; table: MRT_TableInstance; } declare const MRT_TablePagination: ({ position, table, ...rest }: MRT_TablePaginationProps) => react_jsx_runtime.JSX.Element; interface MRT_ToolbarAlertBannerProps extends AlertProps { stackAlertBanner?: boolean; table: MRT_TableInstance; } declare const MRT_ToolbarAlertBanner: ({ stackAlertBanner, table, ...rest }: MRT_ToolbarAlertBannerProps) => react_jsx_runtime.JSX.Element; interface MRT_ToolbarDropZoneProps extends BoxProps { table: MRT_TableInstance; } declare const MRT_ToolbarDropZone: ({ table, ...rest }: MRT_ToolbarDropZoneProps) => react_jsx_runtime.JSX.Element; interface MRT_ToolbarInternalButtonsProps extends BoxProps { table: MRT_TableInstance; } declare const MRT_ToolbarInternalButtons: ({ table, ...rest }: MRT_ToolbarInternalButtonsProps) => react_jsx_runtime.JSX.Element; interface MRT_TopToolbarProps { table: MRT_TableInstance; } declare const MRT_TopToolbar: ({ table, }: MRT_TopToolbarProps) => react_jsx_runtime.JSX.Element; export { type DropdownOption, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_BottomToolbarProps, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnActionMenuProps, type MRT_ColumnDef, type MRT_ColumnFilterFnsState, type MRT_ColumnFiltersState, type MRT_ColumnHelper, type MRT_ColumnOrderState, MRT_ColumnPinningButtons, type MRT_ColumnPinningButtonsProps, type MRT_ColumnPinningState, type MRT_ColumnSizingInfoState, type MRT_ColumnSizingState, type MRT_ColumnVirtualizer, MRT_CopyButton, type MRT_CopyButtonProps, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DisplayColumnDef, type MRT_DisplayColumnIds, MRT_EditActionButtons, type MRT_EditActionButtonsProps, MRT_EditCellTextField, type MRT_EditCellTextFieldProps, MRT_EditRowModal, type MRT_EditRowModalProps, MRT_ExpandAllButton, type MRT_ExpandAllButtonProps, MRT_ExpandButton, type MRT_ExpandButtonProps, type MRT_ExpandedState, MRT_FilterCheckbox, type MRT_FilterCheckboxProps, type MRT_FilterFn, MRT_FilterFns, type MRT_FilterOption, MRT_FilterOptionMenu, type MRT_FilterOptionMenuProps, MRT_FilterRangeFields, type MRT_FilterRangeFieldsProps, MRT_FilterRangeSlider, type MRT_FilterRangeSliderProps, MRT_FilterTextField, type MRT_FilterTextFieldProps, MRT_GlobalFilterTextField, type MRT_GlobalFilterTextFieldProps, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_Icons, type MRT_InternalFilterOption, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowSelectionState, type MRT_RowVirtualizer, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, MRT_ShowHideColumnsButton, type MRT_ShowHideColumnsButtonProps, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_ShowHideColumnsMenuItemsProps, type MRT_ShowHideColumnsMenuProps, type MRT_SortingFn, MRT_SortingFns, type MRT_SortingOption, type MRT_SortingState, type MRT_StatefulTableOptions, MRT_Table, MRT_TableBody, MRT_TableBodyCell, type MRT_TableBodyCellProps, MRT_TableBodyCellValue, type MRT_TableBodyCellValueProps, type MRT_TableBodyProps, MRT_TableBodyRow, MRT_TableBodyRowGrabHandle, type MRT_TableBodyRowGrabHandleProps, MRT_TableBodyRowPinButton, type MRT_TableBodyRowPinButtonProps, type MRT_TableBodyRowProps, MRT_TableContainer, type MRT_TableContainerProps, MRT_TableDetailPanel, type MRT_TableDetailPanelProps, MRT_TableFooter, MRT_TableFooterCell, type MRT_TableFooterCellProps, type MRT_TableFooterProps, MRT_TableFooterRow, type MRT_TableFooterRowProps, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellColumnActionsButton, type MRT_TableHeadCellColumnActionsButtonProps, MRT_TableHeadCellFilterContainer, type MRT_TableHeadCellFilterContainerProps, MRT_TableHeadCellFilterLabel, type MRT_TableHeadCellFilterLabelProps, MRT_TableHeadCellGrabHandle, type MRT_TableHeadCellGrabHandleProps, type MRT_TableHeadCellProps, MRT_TableHeadCellResizeHandle, type MRT_TableHeadCellResizeHandleProps, MRT_TableHeadCellSortLabel, type MRT_TableHeadCellSortLabelProps, type MRT_TableHeadProps, MRT_TableHeadRow, type MRT_TableHeadRowProps, type MRT_TableInstance, MRT_TableLoadingOverlay, type MRT_TableLoadingOverlayProps, type MRT_TableOptions, MRT_TablePagination, type MRT_TablePaginationProps, MRT_TablePaper, type MRT_TablePaperProps, type MRT_TableProps, type MRT_TableState, type MRT_Theme, MRT_ToggleDensePaddingButton, type MRT_ToggleDensePaddingButtonProps, MRT_ToggleFiltersButton, type MRT_ToggleFiltersButtonProps, MRT_ToggleFullScreenButton, type MRT_ToggleFullScreenButtonProps, MRT_ToggleGlobalFilterButton, type MRT_ToggleGlobalFilterButtonProps, MRT_ToggleRowActionMenuButton, type MRT_ToggleRowActionMenuButtonProps, MRT_ToolbarAlertBanner, type MRT_ToolbarAlertBannerProps, MRT_ToolbarDropZone, type MRT_ToolbarDropZoneProps, MRT_ToolbarInternalButtons, type MRT_ToolbarInternalButtonsProps, MRT_TopToolbar, type MRT_TopToolbarProps, type MRT_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type Prettify, type Xor, cellKeyboardShortcuts, createMRTColumnHelper, createRow, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getCanRankRows, getColumnFilterInfo, getColumnId, getDefaultColumnFilterFn, getDefaultColumnOrderIds, getIsRankingRows, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getTrailingDisplayColumnIds, isCellEditable, mrtFilterOptions, openEditingCell, prepareColumns, rankGlobalFuzzy, reorderColumn, showRowActionsColumn, showRowDragColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSelectionColumn, showRowSpacerColumn, useDropdownOptions, useMRT_ColumnVirtualizer, useMRT_Effects, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };