import { TableColumn as WSRTableColumn, TableProps } from '@wix/design-system'; import { ComponentType, ForwardRefExoticComponent, ReactElement } from 'react'; import { FiltersMap, KeyedItem } from '@wix/bex-core'; import { InfiniteScrollTableState, ToolbarCollectionState } from '../../state'; import { ToolbarCollectionBaseProps } from '../ToolbarCollection'; import { CollectionTableContentBaseProps } from './CollectionTableContent'; export interface CollectionTableWSRTableBaseProps extends ToolbarCollectionBaseProps, CollectionTableContentBaseProps, Omit>, 'columns' | 'data' | 'rowDataHook' | 'onRowClick' | 'onDragEnd' | 'onDragStart' | 'onDragCancel' | 'isDragAndDropDisabled' | 'hideBulkSelectionCheckbox'> { useShowLoaderWhenEmpty?: boolean; useNewInfiniteScrollLoader?: boolean; /** * Opt-in selection checkbox as sticky column by default * @external */ useNewStickyColumns?: boolean; /** * Sets a limit on the number of selectable items, works with [`MultiBulkActionToolbar`](/pages/cairo/?path=/story/components-collection-features--multibulkactiontoolbar) feature * @external */ maxSelection?: number; /** * Hides bulk selection checkbox in the table titlebar, If the [`MultiBulkActionToolbar`](/pages/cairo/?path=/story/components-collection-features--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; }>; } export interface CollectionTableWSRTableProps extends CollectionTableWSRTableBaseProps { state: { tableState: InfiniteScrollTableState; toolbar: ToolbarCollectionState; keyedItems: KeyedItem[]; }; sticky: boolean; columns: WSRTableColumn>[]; onRowClick?: (item: KeyedItem, index: number) => void; } declare function _CollectionTableWSRTable(props: CollectionTableWSRTableProps): JSX.Element; export declare const CollectionTableWSRTable: typeof _CollectionTableWSRTable & { displayName: string; }; export {}; //# sourceMappingURL=CollectionTableWSRTable.d.ts.map