/// import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { HTMLProps, MutableRefObject, Dispatch, SetStateAction, ReactNode, RefObject, DragEventHandler, MouseEvent } from 'react'; import { PaginationProps, ActionIconProps, UnstyledButtonProps, MultiSelectProps, TextInputProps, AutocompleteProps, RangeSliderProps, SelectProps, BoxProps, ModalProps, CheckboxProps, HighlightProps, LoadingOverlayProps, ProgressProps, PaperProps, RadioProps, SwitchProps, SkeletonProps, TableProps, BadgeProps, AlertProps, MantineTheme } from '@mantine/core'; import { DateInputProps } from '@mantine/dates'; import * as _tanstack_react_table from '@tanstack/react-table'; import { Row, Table, TableState, ColumnDef, DeepKeys, Column, Header, HeaderGroup, Cell, AggregationFn, SortingFn, FilterFn, TableOptions, OnChangeFn, ColumnOrderState, GroupingState, Renderable } from '@tanstack/react-table'; export { ColumnFiltersState as MRT_ColumnFiltersState, ColumnOrderState as MRT_ColumnOrderState, ColumnPinningState as MRT_ColumnPinningState, ColumnSizingInfoState as MRT_ColumnSizingInfoState, ColumnSizingState as MRT_ColumnSizingState, ExpandedState as MRT_ExpandedState, GroupingState as MRT_GroupingState, PaginationState as MRT_PaginationState, RowSelectionState as MRT_RowSelectionState, SortingState as MRT_SortingState, Updater as MRT_Updater, VisibilityState as MRT_VisibilityState } from '@tanstack/react-table'; import { Virtualizer, VirtualizerOptions, VirtualItem } from '@tanstack/react-virtual'; export { VirtualItem as MRT_VirtualItem, Virtualizer as MRT_Virtualizer, VirtualizerOptions as MRT_VirtualizerOptions } from '@tanstack/react-virtual'; import * as _tanstack_match_sorter_utils from '@tanstack/match-sorter-utils'; import { RankingInfo } from '@tanstack/match-sorter-utils'; import * as _tabler_icons_react from '@tabler/icons-react'; 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: [string | number, string | number]): boolean; autoRemove(val: any): boolean; }; betweenInclusive: { = {}>(row: Row, id: string, filterValues: [string | number, string | number]): boolean; autoRemove(val: any): boolean; }; contains: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; empty: { = {}>(row: Row, id: string, _filterValue: string | number): boolean; autoRemove(val: any): boolean; }; endsWith: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; equals: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; fuzzy: { = {}>(row: Row, columnId: string, filterValue: string | number, addMeta: (item: RankingInfo) => void): boolean; autoRemove(val: any): boolean; }; greaterThan: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; greaterThanOrEqualTo: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; lessThan: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; lessThanOrEqualTo: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; notEmpty: { = {}>(row: Row, id: string, _filterValue: string | number): boolean; autoRemove(val: any): boolean; }; notEquals: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; startsWith: { = {}>(row: Row, id: string, filterValue: string | number): 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 IconArrowAutofitContent: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconArrowsSort: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconBaselineDensityLarge: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconBaselineDensityMedium: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconBaselineDensitySmall: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconBoxMultiple: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronDown: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronLeft: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronLeftPipe: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronRight: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronRightPipe: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconChevronsDown: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconCircleX: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconClearAll: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconColumns: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconDeviceFloppy: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconDots: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconDotsVertical: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconEdit: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconEyeOff: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconFilter: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconFilterCog: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconFilterOff: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconGripHorizontal: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconMaximize: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconMinimize: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconPinned: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconPinnedOff: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconSearch: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconSearchOff: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconSortAscending: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconSortDescending: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; readonly IconX: (props: _tabler_icons_react.TablerIconsProps) => JSX.Element; }; type MRT_Icons = Record; type LiteralUnion = T | (U & Record); type Prettify = { [K in keyof T]: T[K]; } & unknown; type Xor = Prettify | Prettify; type HTMLPropsRef = Omit, 'color' | 'size' | 'type' | 'ref' | 'data' | 'label'> & { ref?: MutableRefObject | null; }; type MantineShade = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; type ColumnAlignment = { align?: 'left' | 'center' | 'right'; }; type MRT_PaginationProps = Partial & { rowsPerPageOptions?: string[]; showRowsPerPage?: boolean; }; type MRT_DensityState = 'xs' | 'md' | 'xl'; type MRT_ColumnFilterFnsState = Record; interface MRT_Localization { actions: string; and: string; cancel: string; changeFilterMode: string; changeSearchMode: string; clearFilter: string; clearSearch: string; clearSort: string; clickToCopy: string; collapse: string; collapseAll: string; columnActions: string; copiedToClipboard: string; create?: 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; filterInNumberRange: string; filterIncludesString: string; filterIncludesStringSensitive: string; filterLessThan: string; filterLessThanOrEqualTo: string; filterMode: string; filterNotEmpty: string; filterNotEquals: string; filterStartsWith: string; filterWeakEquals: string; filteringByColumn: 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; 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_RowModel = {}> { flatRows: MRT_Row[]; rows: MRT_Row[]; rowsById: { [key: string]: MRT_Row; }; } type MRT_TableInstance = {}> = Omit, 'getAllColumns' | 'getAllFlatColumns' | 'getAllLeafColumns' | 'getCenterLeafColumns' | 'getColumn' | 'getExpandedRowModel' | 'getFlatHeaders' | 'getHeaderGroups' | 'getLeftLeafColumns' | 'getPaginationRowModel' | 'getPreFilteredRowModel' | 'getPrePaginationRowModel' | 'getRightLeafColumns' | 'getRowModel' | 'getSelectedRowModel' | 'getState' | 'options'> & { getAllColumns: () => MRT_Column[]; getAllFlatColumns: () => MRT_Column[]; getAllLeafColumns: () => MRT_Column[]; getCenterLeafColumns: () => MRT_Column[]; getColumn: (columnId: string) => MRT_Column; getExpandedRowModel: () => MRT_RowModel; getFlatHeaders: () => MRT_Header[]; getHeaderGroups: () => MRT_HeaderGroup[]; getLeftLeafColumns: () => MRT_Column[]; getPaginationRowModel: () => MRT_RowModel; getPreFilteredRowModel: () => MRT_RowModel; getPrePaginationRowModel: () => MRT_RowModel; getRightLeafColumns: () => MRT_Column[]; getRowModel: () => MRT_RowModel; getSelectedRowModel: () => MRT_RowModel; getState: () => MRT_TableState; options: MRT_DefinedTableOptions; refs: { bottomToolbarRef: MutableRefObject; editInputRefs: MutableRefObject>; filterInputRefs: MutableRefObject>; searchInputRef: MutableRefObject; tableContainerRef: MutableRefObject; tableHeadCellRefs: MutableRefObject>; tablePaperRef: MutableRefObject; topToolbarRef: MutableRefObject; }; setCreatingRow: Dispatch | null | true>>; setColumnFilterFns: Dispatch>; setDensity: Dispatch>; setDraggingColumn: Dispatch | null>>; setDraggingRow: Dispatch | null>>; setEditingCell: Dispatch | null>>; setEditingRow: Dispatch | null>>; setGlobalFilterFn: Dispatch>; setHoveredColumn: Dispatch | { id: string; } | null>>; setHoveredRow: Dispatch | { id: string; } | null>>; setIsFullScreen: Dispatch>; setShowAlertBanner: Dispatch>; setShowColumnFilters: Dispatch>; setShowGlobalFilter: Dispatch>; setShowToolbarDropZone: Dispatch>; }; type MRT_DefinedTableOptions = {}> = MRT_TableOptions & { localization: MRT_Localization; icons: MRT_Icons; }; type MRT_TableState = {}> = Prettify | null; density: MRT_DensityState; draggingColumn: MRT_Column | null; draggingRow: MRT_Row | null; editingCell: MRT_Cell | null; editingRow: MRT_Row | null; globalFilterFn: MRT_FilterOption; hoveredColumn: MRT_Column | { id: string; } | null; hoveredRow: MRT_Row | { id: string; } | null; isFullScreen: boolean; isLoading: boolean; isSaving: boolean; showAlertBanner: boolean; showColumnFilters: boolean; showGlobalFilter: boolean; showLoadingOverlay: boolean; showProgressBars: boolean; showSkeletons: boolean; showToolbarDropZone: boolean; }>; type MRT_ColumnDef = {}> = Omit, 'accessorKey' | 'aggregatedCell' | 'aggregationFn' | 'cell' | 'columns' | 'filterFn' | 'footer' | 'header' | 'id' | 'sortingFn'> & { AggregatedCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; Cell?: (props: { cell: MRT_Cell; renderedCellValue: number | string | ReactNode; column: MRT_Column; row: MRT_Row; rowRef?: RefObject; table: MRT_TableInstance; }) => ReactNode; Edit?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; Filter?: (props: { column: MRT_Column; header: MRT_Header; rangeFilterIndex?: number; table: MRT_TableInstance; }) => ReactNode; Footer?: ReactNode | ((props: { column: MRT_Column; footer: MRT_Header; table: MRT_TableInstance; }) => ReactNode); GroupedCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; Header?: ReactNode | ((props: { column: MRT_Column; header: MRT_Header; table: MRT_TableInstance; }) => ReactNode); PlaceholderCell?: (props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; /** * 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) => any; /** * 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?: (string & {}) | DeepKeys; aggregationFn?: MRT_AggregationFn | Array>; /** * 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[]; editVariant?: 'text' | 'select'; enableClickToCopy?: boolean; enableColumnActions?: boolean; enableColumnDragging?: boolean; enableColumnFilterModes?: boolean; enableColumnOrdering?: boolean; enableEditing?: boolean | ((row: MRT_Row) => boolean); enableFilterMatchHighlighting?: boolean; filterFn?: MRT_FilterFn; filterVariant?: 'autocomplete' | 'checkbox' | 'date' | 'date-range' | 'multi-select' | 'range' | 'range-slider' | 'select' | 'text'; /** * 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; /** * 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; /** * 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; mantineColumnActionsButtonProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & Partial); mantineColumnDragHandleProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & Partial); mantineCopyButtonProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineEditSelectProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineEditTextInputProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineFilterAutocompleteProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; table: MRT_TableInstance; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterCheckboxProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineFilterDateInputProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineFilterMultiSelectProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterRangeSliderProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterSelectProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterTextInputProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineTableBodyCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps & ColumnAlignment); mantineTableFooterCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & BoxProps & ColumnAlignment); mantineTableHeadCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & BoxProps & ColumnAlignment); renderColumnActionsMenuItems?: (props: { column: MRT_Column; table: MRT_TableInstance; internalColumnMenuItems: ReactNode; }) => ReactNode; renderColumnFilterModeMenuItems?: (props: { column: MRT_Column; internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode; sortingFn?: MRT_SortingFn; }; type MRT_DefinedColumnDef = {}> = Omit, 'id' | 'defaultDisplayColumn'> & { defaultDisplayColumn: Partial>; id: string; cell: ColumnDef['cell']; header: ColumnDef['header']; _filterFn: MRT_FilterOption; }; type MRT_Column = {}> = Omit, 'header' | 'footer' | 'columns' | 'columnDef' | 'filterFn'> & { 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, 'getVisibleCells' | 'getAllCells' | 'subRows' | '_valuesCache'> & { getAllCells: () => MRT_Cell[]; getVisibleCells: () => MRT_Cell[]; subRows?: MRT_Row[]; _valuesCache: Record>, any>; }; 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 = {}> = SortingFn | MRT_SortingOption; type MRT_FilterOption = LiteralUnion; type MRT_FilterFn = {}> = FilterFn | MRT_FilterOption; type MRT_InternalFilterOption = { option: string; symbol: string; label: string; divider: boolean; }; type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-drag' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-select'; type MRT_CreateTableFeature = {}, TFeature = any> = (table: MRT_TableInstance) => TFeature; /** * `columns` and `data` props are the only required props, but there are over 150 other optional props. * * See more info on creating columns and data on the official docs site: * @link https://www.mantine-react-table.com/docs/getting-started/usage * * See the full props list on the official docs site: * @link https://www.mantine-react-table.com/docs/api/table-options */ type MRT_TableOptions = {}> = Omit>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> & { columnFilterModeOptions?: Array> | null; /** * The columns to display in the table. `accessorKey`s or `accessorFn`s must match keys in the `data` prop. * * See more info on creating columns on the official docs site: * @link https://www.mantine-react-table.com/docs/guides/data-columns * @link https://www.mantine-react-table.com/docs/guides/display-columns * * See all Columns Options on the official docs site: * @link https://www.mantine-react-table.com/docs/api/column-options */ columns: MRT_ColumnDef[]; /** * 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.mantine-react-table.com/docs/getting-started/usage */ columnVirtualizerInstanceRef?: MutableRefObject | null>; columnVirtualizerProps?: Partial> | ((props: { table: MRT_TableInstance; }) => Partial>); data: TData[]; /** * Instead of specifying a bunch of the same options for each column, you can just change an option in the `defaultColumn` prop 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>; }>; createDisplayMode?: 'modal' | 'row' | 'custom'; editDisplayMode?: 'modal' | 'row' | 'cell' | 'table' | 'custom'; columnFilterDisplayMode?: 'subheader' | 'popover' | 'custom'; paginationDisplayMode?: 'default' | 'pages' | 'custom'; selectDisplayMode?: 'checkbox' | 'radio' | 'switch'; enableBottomToolbar?: boolean; enableClickToCopy?: boolean; enableColumnActions?: boolean; enableColumnDragging?: boolean; enableColumnFilterModes?: boolean; enableColumnOrdering?: boolean; enableColumnVirtualization?: boolean; enableDensityToggle?: boolean; enableEditing?: boolean | ((row: MRT_Row) => boolean); enableExpandAll?: boolean; enableFacetedValues?: boolean; enableFilterMatchHighlighting?: boolean; enableFullScreenToggle?: boolean; enableGlobalFilterModes?: boolean; enableGlobalFilterRankedResults?: boolean; enablePagination?: boolean; enableRowActions?: boolean; enableRowDragging?: boolean; enableRowNumbers?: boolean; enableRowOrdering?: boolean; enableRowSelection?: boolean | ((row: MRT_Row) => 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 | undefined; globalFilterFn?: MRT_FilterOption; globalFilterModeOptions?: MRT_FilterOption[] | null; icons?: Partial; 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?: 'semantic' | 'grid'; /** * Pass in either a locale imported from `mantine-react-table/locales/*` or a custom locale object. * * See the localization (i18n) guide for more info: * @link https://www.mantine-react-table.com/docs/guides/localization */ localization?: Partial; mantineBottomToolbarProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineColumnActionsButtonProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & Partial); mantineColumnDragHandleProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & Partial); mantineCopyButtonProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineCreateRowModalProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & Partial); mantineDetailPanelProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & BoxProps); mantineEditRowModalProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & Partial); mantineEditSelectProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineEditTextInputProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineExpandAllButtonProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineExpandButtonProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & Partial); mantineFilterAutocompleteProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; table: MRT_TableInstance; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterCheckboxProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineFilterDateInputProps?: (HTMLPropsRef & Partial) | ((props: { column: MRT_Column; rangeFilterIndex?: number; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineFilterMultiSelectProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterRangeSliderProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterSelectProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineFilterTextInputProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; column: MRT_Column; rangeFilterIndex?: number; }) => HTMLPropsRef & Partial); mantineHighlightProps?: (HTMLPropsRef & Partial) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineLoadingOverlayProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineProgressProps?: (HTMLPropsRef & ProgressProps) | ((props: { isTopToolbar: boolean; table: MRT_TableInstance; }) => HTMLPropsRef & ProgressProps); mantinePaginationProps?: Partial & MRT_PaginationProps> | ((props: { table: MRT_TableInstance; }) => Partial & MRT_PaginationProps>); mantinePaperProps?: (HTMLPropsRef & PaperProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & PaperProps); mantineRowDragHandleProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & Partial); mantineSearchTextInputProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineSelectAllCheckboxProps?: (HTMLPropsRef & (CheckboxProps | RadioProps | SwitchProps)) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & (CheckboxProps | RadioProps | SwitchProps)); mantineSelectCheckboxProps?: (HTMLPropsRef & (CheckboxProps | RadioProps | SwitchProps)) | ((props: { table: MRT_TableInstance; row: MRT_Row; }) => HTMLPropsRef & (CheckboxProps | RadioProps | SwitchProps)); mantineSkeletonProps?: (HTMLPropsRef & SkeletonProps) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & SkeletonProps); mantineTableBodyCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { cell: MRT_Cell; column: MRT_Column; row: MRT_Row; table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps & ColumnAlignment); mantineTableBodyProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineTableBodyRowProps?: (HTMLPropsRef & BoxProps) | ((props: { isDetailPanel?: boolean; row: MRT_Row; staticRowIndex: number; table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineTableContainerProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineTableFooterCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & BoxProps & ColumnAlignment); mantineTableFooterProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineTableFooterRowProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; footerGroup: MRT_HeaderGroup; }) => HTMLPropsRef & BoxProps); mantineTableHeadCellProps?: (HTMLPropsRef & BoxProps & ColumnAlignment) | ((props: { table: MRT_TableInstance; column: MRT_Column; }) => HTMLPropsRef & BoxProps & ColumnAlignment); mantineTableHeadProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); mantineTableHeadRowProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; headerGroup: MRT_HeaderGroup; }) => HTMLPropsRef & BoxProps); mantineTableProps?: (HTMLPropsRef & TableProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & TableProps); mantineToolbarAlertBannerBadgeProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineToolbarAlertBannerProps?: (HTMLPropsRef & Partial) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & Partial); mantineTopToolbarProps?: (HTMLPropsRef & BoxProps) | ((props: { table: MRT_TableInstance; }) => HTMLPropsRef & BoxProps); /** * 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.mantine-react-table.com/docs/guides/memoize-components */ memoMode?: 'cells' | 'rows' | 'table-body'; 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>; }) => void; onColumnFilterFnsChange?: OnChangeFn<{ [key: string]: MRT_FilterOption; }>; 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 | { id: string; } | null>; onHoveredRowChange?: OnChangeFn | { id: string; } | null>; onIsFullScreenChange?: OnChangeFn; onShowAlertBannerChange?: OnChangeFn; onShowColumnFiltersChange?: OnChangeFn; onShowGlobalFilterChange?: OnChangeFn; onShowToolbarDropZoneChange?: OnChangeFn; positionActionsColumn?: 'first' | 'last'; positionExpandColumn?: 'first' | 'last'; positionGlobalFilter?: 'left' | 'right' | 'none'; positionPagination?: 'bottom' | 'top' | 'both' | 'none'; positionToolbarAlertBanner?: 'bottom' | 'top' | 'head-overlay' | 'none'; positionToolbarDropZone?: 'bottom' | 'top' | 'none' | 'both'; renderBottomToolbar?: ReactNode | ((props: { table: MRT_TableInstance; }) => ReactNode); renderBottomToolbarCustomActions?: (props: { table: MRT_TableInstance; }) => ReactNode; renderCreateRowModalContent?: (props: { internalEditComponents: ReactNode[]; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderColumnActionsMenuItems?: (props: { column: MRT_Column; table: MRT_TableInstance; internalColumnMenuItems: ReactNode; }) => ReactNode; renderColumnFilterModeMenuItems?: (props: { column: MRT_Column; internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode; renderDetailPanel?: (props: { row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderEditRowModalContent?: (props: { internalEditComponents: ReactNode[]; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderGlobalFilterModeMenuItems?: (props: { internalFilterOptions: MRT_InternalFilterOption[]; onSelectFilterMode: (filterMode: MRT_FilterOption) => void; table: MRT_TableInstance; }) => ReactNode; renderEmptyRowsFallback?: (props: { table: MRT_TableInstance; }) => ReactNode; renderRowActionMenuItems?: (props: { row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderRowActions?: (props: { cell: MRT_Cell; row: MRT_Row; table: MRT_TableInstance; }) => ReactNode; renderToolbarAlertBannerContent?: (props: { groupedAlert: ReactNode | null; selectedAlert: ReactNode | null; table: MRT_TableInstance; }) => ReactNode; renderToolbarInternalActions?: (props: { table: MRT_TableInstance; }) => ReactNode; renderTopToolbar?: ReactNode | ((props: { table: MRT_TableInstance; }) => ReactNode); renderTopToolbarCustomActions?: (props: { table: MRT_TableInstance; }) => ReactNode; rowCount?: number; rowNumberMode?: 'original' | 'static'; rowVirtualizerInstanceRef?: MutableRefObject | null>; rowVirtualizerProps?: Partial> | ((props: { table: MRT_TableInstance; }) => Partial>); selectAllMode?: 'all' | 'page'; /** * Manage state externally any way you want, then pass it back into MRT. */ state?: Partial>; }; type TableInstanceProp = {}> = { table: MRT_TableInstance; }; type Props$P = {}> = Xor, MRT_TableOptions>; declare const MantineReactTable: = {}>(props: Props$P) => react_jsx_runtime.JSX.Element; interface Props$O = {}> { columnVirtualizer?: Virtualizer; enableHover?: boolean; isStriped?: boolean; table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; } declare const MRT_TableBody: = {}>({ columnVirtualizer, enableHover, isStriped, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$O) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBody: = {}>({ columnVirtualizer, enableHover, isStriped, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$O) => react_jsx_runtime.JSX.Element; interface Props$N = {}> { cell: MRT_Cell; isStriped?: boolean; measureElement?: (element: HTMLTableCellElement) => void; numRows?: number; rowIndex: number; rowRef: RefObject; table: MRT_TableInstance; virtualCell?: VirtualItem; } declare const MRT_TableBodyCell: = {}>({ cell, isStriped, measureElement, numRows, rowIndex, rowRef, table, virtualCell, }: Props$N) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBodyCell: = {}>({ cell, isStriped, measureElement, numRows, rowIndex, rowRef, table, virtualCell, }: Props$N) => react_jsx_runtime.JSX.Element; interface Props$M = {}> { cell: MRT_Cell; table: MRT_TableInstance; } declare const MRT_TableBodyCellValue: = {}>({ cell, table, }: Props$M) => react.ReactNode; interface Props$L = {}> { columnVirtualizer?: Virtualizer; enableHover?: boolean; isStriped?: boolean; measureElement?: (element: HTMLTableRowElement) => void; numRows?: number; row: MRT_Row; rowIndex: number; table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; virtualRow?: VirtualItem; } declare const MRT_TableBodyRow: = {}>({ columnVirtualizer, enableHover, isStriped, measureElement, numRows, row, rowIndex, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, virtualRow, }: Props$L) => react_jsx_runtime.JSX.Element; declare const Memo_MRT_TableBodyRow: = {}>({ columnVirtualizer, enableHover, isStriped, measureElement, numRows, row, rowIndex, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, virtualRow, }: Props$L) => react_jsx_runtime.JSX.Element; interface Props$K = {}> { row: MRT_Row; rowRef: RefObject; table: MRT_TableInstance; } declare const MRT_TableBodyRowGrabHandle: = {}>({ row, rowRef, table, }: Props$K) => react_jsx_runtime.JSX.Element; interface Props$J = {}> { parentRowRef: react.RefObject; row: MRT_Row; rowIndex: number; table: MRT_TableInstance; virtualRow?: VirtualItem; } declare const MRT_TableDetailPanel: = {}>({ parentRowRef, row, rowIndex, table, virtualRow, }: Props$J) => react_jsx_runtime.JSX.Element; interface Props$I = {}> { column: MRT_Column; table: MRT_TableInstance; } declare const MRT_ColumnPinningButtons: = {}>({ column, table, }: Props$I) => react_jsx_runtime.JSX.Element; interface Props$H = {}> { cell: MRT_Cell; children: ReactNode; table: MRT_TableInstance; } declare const MRT_CopyButton: = {}>({ cell, children, table, }: Props$H) => react_jsx_runtime.JSX.Element; interface Props$G = {}> { row: MRT_Row; table: MRT_TableInstance; variant?: 'icon' | 'text'; } declare const MRT_EditActionButtons: = {}>({ row, table, variant, }: Props$G) => react_jsx_runtime.JSX.Element; interface Props$F = {}> { table: MRT_TableInstance; } declare const MRT_ExpandAllButton: = {}>({ table, }: Props$F) => react_jsx_runtime.JSX.Element; interface Props$E = {}> { row: MRT_Row; table: MRT_TableInstance; } declare const MRT_ExpandButton: = {}>({ row, table, }: Props$E) => react_jsx_runtime.JSX.Element; interface Props$D = {}> { actionIconProps?: ActionIconProps & HTMLPropsRef; onDragStart: DragEventHandler; onDragEnd: DragEventHandler; table: MRT_TableInstance; } declare const MRT_GrabHandleButton: = {}>({ actionIconProps, onDragEnd, onDragStart, table, }: Props$D) => react_jsx_runtime.JSX.Element; interface Props$C = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } declare const MRT_ShowHideColumnsButton: = {}>({ table, ...rest }: Props$C) => react_jsx_runtime.JSX.Element; interface Props$B = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } declare const MRT_ToggleDensePaddingButton: = {}>({ table }: Props$B) => react_jsx_runtime.JSX.Element; interface Props$A = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } declare const MRT_ToggleFiltersButton: = {}>({ table }: Props$A) => react_jsx_runtime.JSX.Element; interface Props$z = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } declare const MRT_ToggleFullScreenButton: = {}>({ table, ...rest }: Props$z) => react_jsx_runtime.JSX.Element; interface Props$y = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } declare const MRT_ToggleGlobalFilterButton: = {}>({ table, ...rest }: Props$y) => react_jsx_runtime.JSX.Element; interface Props$x = {}> { cell: MRT_Cell; row: MRT_Row; table: MRT_TableInstance; } declare const MRT_ToggleRowActionMenuButton: = {}>({ cell, row, table, }: Props$x) => react_jsx_runtime.JSX.Element; declare const getColumnId: = {}>(columnDef: MRT_ColumnDef) => string; declare const getAllLeafColumnDefs: = {}>(columns: MRT_ColumnDef[]) => MRT_ColumnDef[]; declare const prepareColumns: = {}>({ aggregationFns, columnDefs, columnFilterFns, defaultDisplayColumn, filterFns, sortingFns, }: { 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; } & Record>; columnDefs: MRT_ColumnDef[]; columnFilterFns: { [key: string]: MRT_FilterOption; }; defaultDisplayColumn: Partial>; filterFns: { between: { = {}>(row: Row, id: string, filterValues: [string | number, string | number]): boolean; autoRemove(val: any): boolean; }; betweenInclusive: { = {}>(row: Row, id: string, filterValues: [string | number, string | number]): boolean; autoRemove(val: any): boolean; }; contains: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; empty: { = {}>(row: Row, id: string, _filterValue: string | number): boolean; autoRemove(val: any): boolean; }; endsWith: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; equals: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; fuzzy: { = {}>(row: Row, columnId: string, filterValue: string | number, addMeta: (item: _tanstack_match_sorter_utils.RankingInfo) => void): boolean; autoRemove(val: any): boolean; }; greaterThan: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; greaterThanOrEqualTo: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; lessThan: { = {}>(row: Row, id: string, filterValue: string | number | null): boolean; autoRemove(val: any): boolean; }; lessThanOrEqualTo: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; notEmpty: { = {}>(row: Row, id: string, _filterValue: string | number): boolean; autoRemove(val: any): boolean; }; notEquals: { = {}>(row: Row, id: string, filterValue: string | number): boolean; autoRemove(val: any): boolean; }; startsWith: { = {}>(row: Row, id: string, filterValue: string | number): 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; } & Record>; 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; } & Record>; }) => MRT_DefinedColumnDef[]; declare const reorderColumn: = {}>(draggedColumn: MRT_Column, targetColumn: MRT_Column, columnOrder: ColumnOrderState) => ColumnOrderState; declare const showExpandColumn: = {}>(props: MRT_TableOptions, grouping?: GroupingState) => boolean; declare const getLeadingDisplayColumnIds: = {}>(props: MRT_TableOptions) => MRT_DisplayColumnIds[]; declare const getTrailingDisplayColumnIds: = {}>(props: MRT_TableOptions) => MRT_DisplayColumnIds[]; declare const getDefaultColumnOrderIds: = {}>(props: MRT_TableOptions) => string[]; declare const getDefaultColumnFilterFn: = {}>(columnDef: MRT_ColumnDef) => MRT_FilterOption; declare const getIsFirstColumn: = {}>(column: MRT_Column, table: MRT_TableInstance) => boolean; declare const getIsLastColumn: = {}>(column: MRT_Column, table: MRT_TableInstance) => boolean; declare const getIsLastLeftPinnedColumn: = {}>(table: MRT_TableInstance, column: MRT_Column) => boolean; declare const getIsFirstRightPinnedColumn: = {}>(column: MRT_Column) => boolean; declare const getTotalRight: = {}>(table: MRT_TableInstance, column: MRT_Column) => number; declare const getCanRankRows: = {}>(table: MRT_TableInstance) => boolean | undefined; declare const getCommonCellStyles: = {}>({ column, header, isStriped, row, table, tableCellProps, theme, }: { column: MRT_Column; header?: MRT_Header | undefined; isStriped?: boolean | undefined; row?: MRT_Row | undefined; table: MRT_TableInstance; tableCellProps: BoxProps; theme: MantineTheme; }) => any; declare const MRT_DefaultColumn: { readonly filterVariant: "text"; readonly minSize: 40; readonly maxSize: 1000; 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 getPrimaryShade: (theme: MantineTheme) => number; declare const getPrimaryColor: (theme: MantineTheme, shade?: MantineShade) => string; declare const parseCSSVarId: (id: string) => string; declare const flexRender: (Comp: Renderable, props: any) => ReactNode | JSX.Element; declare const createRow: = {}>(table: MRT_TableInstance, originalRow?: TData | undefined) => MRT_Row; interface Props$w = {}> { table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; } declare const MRT_TableFooter: = {}>({ table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$w) => react_jsx_runtime.JSX.Element; interface Props$v = {}> { footer: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableFooterCell: = {}>({ footer, table, }: Props$v) => react_jsx_runtime.JSX.Element; interface Props$u = {}> { footerGroup: MRT_HeaderGroup; table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; } declare const MRT_TableFooterRow: = {}>({ footerGroup, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$u) => react_jsx_runtime.JSX.Element | null; interface Props$t = {}> { table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; } declare const MRT_TableHead: = {}>({ table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$t) => react_jsx_runtime.JSX.Element; interface Props$s = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCell: = {}>({ header, table, }: Props$s) => react_jsx_runtime.JSX.Element; interface Props$r = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellFilterContainer: = {}>({ header, table, }: Props$r) => react_jsx_runtime.JSX.Element; interface Props$q = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellFilterLabel: = {}>({ header, table, }: Props$q) => react_jsx_runtime.JSX.Element; interface Props$p = {}> { column: MRT_Column; table: MRT_TableInstance; tableHeadCellRef: RefObject; } declare const MRT_TableHeadCellGrabHandle: = {}>({ column, table, tableHeadCellRef, }: Props$p) => react_jsx_runtime.JSX.Element; interface Props$o = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellResizeHandle: = {}>({ header, table, }: Props$o) => react_jsx_runtime.JSX.Element; interface Props$n = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_TableHeadCellSortLabel: = {}>({ header, table, }: Props$n) => react_jsx_runtime.JSX.Element; interface Props$m = {}> { headerGroup: MRT_HeaderGroup; table: MRT_TableInstance; virtualColumns?: VirtualItem[]; virtualPaddingLeft?: number; virtualPaddingRight?: number; } declare const MRT_TableHeadRow: = {}>({ headerGroup, table, virtualColumns, virtualPaddingLeft, virtualPaddingRight, }: Props$m) => react_jsx_runtime.JSX.Element; interface Props$l = {}> { cell: MRT_Cell; table: MRT_TableInstance; } declare const MRT_EditCellTextInput: = {}>({ cell, table, }: Props$l) => string | number | boolean | Iterable | react_jsx_runtime.JSX.Element | null | undefined; interface Props$k = {}> { column: MRT_Column; table: MRT_TableInstance; } declare const MRT_FilterCheckbox: = {}>({ column, table, }: Props$k) => react_jsx_runtime.JSX.Element; interface Props$j = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_FilterRangeFields: = {}>({ header, table, }: Props$j) => react_jsx_runtime.JSX.Element; interface Props$i = {}> { header: MRT_Header; rangeFilterIndex?: number; table: MRT_TableInstance; } declare const MRT_FilterTextInput: = {}>({ header, rangeFilterIndex, table, }: Props$i) => react_jsx_runtime.JSX.Element; interface Props$h = {}> { table: MRT_TableInstance; } declare const MRT_GlobalFilterTextInput: = {}>({ table, }: Props$h) => react_jsx_runtime.JSX.Element; interface Props$g = {}> { row?: MRT_Row; selectAll?: boolean; table: MRT_TableInstance; } declare const MRT_SelectCheckbox: = {}>({ row, selectAll, table, }: Props$g) => react_jsx_runtime.JSX.Element; interface Props$f = {}> { header: MRT_Header; table: MRT_TableInstance; } declare const MRT_ColumnActionMenu: = {}>({ header, table, }: Props$f) => react_jsx_runtime.JSX.Element; declare const mrtFilterOptions: (localization: MRT_Localization) => MRT_InternalFilterOption[]; interface Props$e = {}> { header?: MRT_Header; onSelect?: () => void; table: MRT_TableInstance; } declare const MRT_FilterOptionMenu: = {}>({ header, onSelect, table, }: Props$e) => react_jsx_runtime.JSX.Element; interface Props$d = {}> { handleEdit: (event: MouseEvent) => void; row: MRT_Row; table: MRT_TableInstance; } declare const MRT_RowActionMenu: = {}>({ handleEdit, row, table, }: Props$d) => react_jsx_runtime.JSX.Element; interface Props$c = {}> { isSubMenu?: boolean; table: MRT_TableInstance; } declare const MRT_ShowHideColumnsMenu: = {}>({ isSubMenu, table, }: Props$c) => react_jsx_runtime.JSX.Element; interface Props$b = {}> { allColumns: MRT_Column[]; column: MRT_Column; hoveredColumn: MRT_Column | null; isSubMenu?: boolean; setHoveredColumn: Dispatch | null>>; table: MRT_TableInstance; } declare const MRT_ShowHideColumnsMenuItems: = {}>({ allColumns, hoveredColumn, setHoveredColumn, column, isSubMenu, table, }: Props$b) => react_jsx_runtime.JSX.Element; interface Props$a = {}> { open: boolean; table: MRT_TableInstance; } declare const MRT_EditRowModal: = {}>({ open, table, }: Props$a) => react_jsx_runtime.JSX.Element; interface Props$9 = {}> { table: MRT_TableInstance; } declare const MRT_Table: = {}>({ table, }: Props$9) => react_jsx_runtime.JSX.Element; interface Props$8 = {}> { table: MRT_TableInstance; } declare const MRT_TableContainer: = {}>({ table, }: Props$8) => react_jsx_runtime.JSX.Element; interface Props$7 = {}> { table: MRT_TableInstance; } declare const MRT_TablePaper: = {}>({ table, }: Props$7) => react_jsx_runtime.JSX.Element; interface Props$6 = {}> { table: MRT_TableInstance; } declare const MRT_BottomToolbar: = {}>({ table, }: Props$6) => react_jsx_runtime.JSX.Element; interface Props$5 = {}> { isTopToolbar: boolean; table: MRT_TableInstance; } declare const MRT_ProgressBar: = {}>({ isTopToolbar, table, }: Props$5) => react_jsx_runtime.JSX.Element; interface Props$4 = {}> { position?: 'top' | 'bottom'; table: MRT_TableInstance; } declare const MRT_TablePagination: = {}>({ table }: Props$4) => react_jsx_runtime.JSX.Element; interface Props$3 = {}> { stackAlertBanner?: boolean; table: MRT_TableInstance; } declare const MRT_ToolbarAlertBanner: = {}>({ stackAlertBanner, table, }: Props$3) => react_jsx_runtime.JSX.Element; interface Props$2 = {}> { table: MRT_TableInstance; } declare const MRT_ToolbarDropZone: = {}>({ table, }: Props$2) => react_jsx_runtime.JSX.Element; interface Props$1 = {}> { table: MRT_TableInstance; } declare const MRT_ToolbarInternalButtons: = {}>({ table, }: Props$1) => react_jsx_runtime.JSX.Element; declare const commonToolbarStyles: ({ theme }: { theme: MantineTheme; }) => { alignItems: string; backgroundColor: string; backgroundImage: string; display: string; flexWrap: string; minHeight: string; overflow: string; padding: string; transition: string; zIndex: number; }; interface Props = {}> { table: MRT_TableInstance; } declare const MRT_TopToolbar: = {}>({ table, }: Props) => react_jsx_runtime.JSX.Element; declare const useMantineReactTable: = {}>(tableOptions: MRT_TableOptions) => MRT_TableInstance; export { type ColumnAlignment, type HTMLPropsRef, type LiteralUnion, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnDef, type MRT_ColumnFilterFnsState, MRT_ColumnPinningButtons, MRT_CopyButton, type MRT_CreateTableFeature, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DisplayColumnIds, MRT_EditActionButtons, MRT_EditCellTextInput, MRT_EditRowModal, MRT_ExpandAllButton, MRT_ExpandButton, MRT_FilterCheckbox, type MRT_FilterFn, MRT_FilterFns, type MRT_FilterOption, MRT_FilterOptionMenu, MRT_FilterRangeFields, MRT_FilterTextInput, MRT_GlobalFilterTextInput, MRT_GrabHandleButton, type MRT_Header, type MRT_HeaderGroup, type MRT_Icons, type MRT_InternalFilterOption, type MRT_Localization, type MRT_PaginationProps, MRT_ProgressBar, type MRT_Row, MRT_RowActionMenu, type MRT_RowModel, MRT_SelectCheckbox, MRT_ShowHideColumnsButton, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_SortingFn, MRT_SortingFns, type MRT_SortingOption, MRT_Table, MRT_TableBody, MRT_TableBodyCell, MRT_TableBodyCellValue, MRT_TableBodyRow, MRT_TableBodyRowGrabHandle, MRT_TableContainer, MRT_TableDetailPanel, MRT_TableFooter, MRT_TableFooterCell, MRT_TableFooterRow, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellFilterContainer, MRT_TableHeadCellFilterLabel, MRT_TableHeadCellGrabHandle, MRT_TableHeadCellResizeHandle, MRT_TableHeadCellSortLabel, MRT_TableHeadRow, type MRT_TableInstance, type MRT_TableOptions, MRT_TablePagination, MRT_TablePaper, type MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleFullScreenButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MantineReactTable, type MantineShade, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type Prettify, type Xor, commonToolbarStyles, createRow, flexRender, getAllLeafColumnDefs, getCanRankRows, getColumnId, getCommonCellStyles, getDefaultColumnFilterFn, getDefaultColumnOrderIds, getIsFirstColumn, getIsFirstRightPinnedColumn, getIsLastColumn, getIsLastLeftPinnedColumn, getLeadingDisplayColumnIds, getPrimaryColor, getPrimaryShade, getTotalRight, getTrailingDisplayColumnIds, mrtFilterOptions, parseCSSVarId, prepareColumns, rankGlobalFuzzy, reorderColumn, showExpandColumn, useMantineReactTable };