import React from 'react'; import { FiltersMap } from '@wix/bex-core'; import type { TableGridSwitchState } from '../../state/TableGridSwitchState'; import { GridPresetProps } from '../Grid/Grid.types'; import type { TableGridSwitchDragAndDrop } from './TableGridSwitchDragAndDrop'; import { GridSectionsContent } from '../GridSections/GridSectionsContent'; import type { GroupBy, RenderSection, SectionEvents } from '../CollectionSectionHeader'; import { TableSections } from '../TableSections'; import { GridBasePropsWithoutPreset } from '../Grid/Grid'; import type { TableProps } from '..'; export interface TableGridSwitchBaseProps extends Omit, 'state' | 'dragAndDrop' | 'tableGridSwitchButton' | 'sticky' | 'sections'>, Omit, 'state' | 'dragAndDrop' | 'tableGridSwitchButton' | 'sticky' | 'sections'> { /** * A `TableGridSwitchState` instance created using [useTableGridSwitch](./?path=/story/base-components-collections-tablegridswitch-usetablegridswitchcollection--usetablegridswitchcollection). */ state: TableGridSwitchState; /** * Adds functionality to allow visitors to reorder items manually. * For more information, see the [Drag and Drop Overview](./?path=/story/features-sort-drag-and-drop--overview). * @overrideType [TableGridSwitchDragAndDrop](./?path=/story/features-sort-drag-and-drop--tablegridswitchdraganddrop) * @external */ dragAndDrop?: typeof TableGridSwitchDragAndDrop; /** * Configuration for rendering sections. When provided, the component will render with section headers * that group related rows together for both Grid and Table views. * @external */ sections?: { GridSections: typeof GridSectionsContent; TableSections: typeof TableSections; groupBy: GroupBy; renderSection: RenderSection; collapsible?: boolean; events?: SectionEvents; }; } export type TableGridSwitchProps = GridPresetProps>; export declare function _TableGridSwitch(props: TableGridSwitchProps): React.JSX.Element; export declare const TableGridSwitch: typeof _TableGridSwitch & { displayName: string; }; //# sourceMappingURL=TableGridSwitch.d.ts.map