import React, { ReactElement } from 'react'; import { FiltersMap } from '@wix/bex-core'; import { TableProps } from '../Table'; import { GridProps } from '../Grid'; import type { EditableTableProps } from '../EditableTable'; import type { ILayoutSwitchState } from '../../state/ILayoutSwitchState'; export interface LayoutSwitchProps { state: ILayoutSwitchState; /** * An `` element added to the toolbar of whichever layout is * shown. Set it here once instead of repeating it in each layout's props. A * layout's own `importButton` (in `tableProps`/`gridProps`/`spreadsheetProps`) * takes precedence over this one. */ importButton?: ReactElement; tableProps?: Omit, 'tableGridSwitchButton'>; gridProps?: Omit, 'tableGridSwitchButton'>; spreadsheetProps?: Omit, 'tableGridSwitchButton'>; } declare function _LayoutSwitch({ state, importButton, tableProps, gridProps, spreadsheetProps, }: LayoutSwitchProps): React.JSX.Element | null; export declare const LayoutSwitch: typeof _LayoutSwitch & { displayName: string; }; export {}; //# sourceMappingURL=LayoutSwitch.d.ts.map