import { TableColumn as WSRTableColumn, TableProps } from '@wix/design-system'; import React, { ComponentType, ForwardRefExoticComponent, ReactElement } from 'react'; import { FiltersMap, KeyedItem } from '@wix/bex-core'; import { TableState, ToolbarCollectionState } from '../../state'; import { ToolbarCollectionBaseProps } from '../ToolbarCollection'; import { CollectionTableContentBaseProps } from './CollectionTableContent'; import { CollectionToolbarsVisualizationProps } from '../CollectionToolbars/CollectionToolbarsVisualization'; export interface CollectionTableWSRTableBaseProps extends ToolbarCollectionBaseProps, CollectionTableContentBaseProps, Omit>, 'columns' | 'data' | 'rowDataHook' | 'onRowClick' | 'onDragEnd' | 'onDragStart' | 'onDragCancel' | 'isDragAndDropDisabled' | 'hideBulkSelectionCheckbox' | 'skin'> { /** * @deprecated The table skin is fixed to `"neutral"` and any value passed here is ignored. This prop will be removed in a future release. */ skin?: TableProps>['skin']; useShowLoaderWhenEmpty?: boolean; useNewInfiniteScrollLoader?: boolean; /** * Whether to add a sticky column.
* Sticky columns allow you to display specific columns at all times while the visitor scrolls the table horizontally. * @external */ stickySelectionColumn?: boolean; /** * Limits the amount of rows a visitor can select. * @external */ maxSelection?: number; /** * Hides bulk selection checkbox in the table titlebar, If the [`MultiBulkActionToolbar`](./?path=/story/features-actions-bulk-actions--multibulkactiontoolbar) feature is enabled, this flag will have no effect. * @external */ hideBulkSelectionCheckbox?: boolean; BodyElementType?: ComponentType<{ children: ReactElement[]; }>; TrElementType?: ForwardRefExoticComponent<{ children: ReactElement[]; rowData: any; className: string; }>; visualization?: CollectionToolbarsVisualizationProps['visualization']; } export interface CollectionTableWSRTableProps extends CollectionTableWSRTableBaseProps { state: { tableState: TableState; toolbar: ToolbarCollectionState; keyedItems: KeyedItem[]; showLoadingState: boolean; showEmptyState: boolean; }; sticky: boolean; columns: WSRTableColumn>[]; onRowClick?: (item: KeyedItem, index: number) => void; keyedItems?: KeyedItem[]; } declare function _CollectionTableWSRTable(props: CollectionTableWSRTableProps): React.JSX.Element; export declare const CollectionTableWSRTable: typeof _CollectionTableWSRTable & { displayName: string; }; export {}; //# sourceMappingURL=CollectionTableWSRTable.d.ts.map