import { AddItemProps } from '@wix/design-system'; import { ReactElement } from 'react'; import { FiltersMap } from '@wix/bex-core'; import { GridFoldersState } from '../../state'; import { ActionsCell } from '../ActionsCell'; import { SupportedCardGalleryItemProps } from './SupportedCardGalleryItemProps'; import { GridFoldersPresetProps } from './GridFolders.types'; import { CardGridItemBaseProps } from './CardGridItemBaseProps'; import { ToolbarCollectionBaseProps } from '../ToolbarCollection'; import { PartialAllFilters } from '../../state/FoldersAndItemsCollectionsState'; export interface GridFoldersBaseProps extends Omit>, 'renderEmptyState' | 'topNotification'>, CardGridItemBaseProps { dataHook?: string; /** A GridFoldersState instance created using [useGridFolders](/pages/cairo/?path=/story/common-hooks--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 `actionsCell`, but for a folder item. */ folderActionsCell?: ActionsCell; /** Same as `renderAddItem`, but for a folder item. */ renderFolderAddItem?: () => ReactElement; renderEmptyState?: () => ReactElement; topNotification?: ReactElement; } export type GridFoldersBasePropsWithoutPreset = Omit, 'preset' | 'folderPreset' | 'renderItem' | 'renderFolderItem'>; export type GridFoldersProps = GridFoldersPresetProps>; declare function _GridFolders(props: GridFoldersProps): JSX.Element; export declare const GridFolders: typeof _GridFolders & { displayName: string; }; export {}; //# sourceMappingURL=GridFolders.d.ts.map