import { AddItemProps } from '@wix/design-system'; import React, { ReactElement } from 'react'; import { FiltersMap } from '@wix/bex-core'; import { GridFoldersState } from '../../state'; import { ActionCell } from '../ActionCell'; import { SupportedCardGalleryItemProps } from './SupportedCardGalleryItemProps'; import { GridFoldersPresetProps } from './GridFolders.types'; import { GridItemBaseProps } from './GridItemBaseProps'; import { ToolbarCollectionBaseProps } from '../ToolbarCollection'; import { PartialAllFilters } from '../../state/FoldersAndItemsCollectionsState'; export interface GridFoldersBaseProps extends Omit>, 'topNotification'>, GridItemBaseProps { dataHook?: string; /** A GridFoldersState instance created using [useGridFolders](./?path=/story/base-components-collections-gridfolders-usegridfolders--usegridfolders). */ state: GridFoldersState; /** Optional custom title for the items section */ itemsSectionTitle?: string; foldersSectionTitle?: string; /** Same as `renderItem`, but for a folder item. */ renderFolderItem?: (item: T2, index: number) => Partial; /** Same as `preset` but for a folder item */ folderPreset?: 'full' | 'title'; /** Same as `actionCell`, but for a folder item. */ folderActionCell?: ActionCell; /** Same as `renderAddItem`, but for a folder item. */ renderFolderAddItem?: () => ReactElement; topNotification?: ReactElement; } export type GridFoldersBasePropsWithoutPreset = Omit, 'preset' | 'folderPreset' | 'renderItem' | 'renderFolderItem'>; export type GridFoldersProps = GridFoldersPresetProps>; declare function _GridFolders(props: GridFoldersProps): React.JSX.Element; export declare const GridFolders: typeof _GridFolders & { displayName: string; }; export {}; //# sourceMappingURL=GridFolders.d.ts.map