import type { FSDBRepository } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { MongoDBCachedRepository } from '@becomes/purple-cheetah-mod-mongodb-mem-cache/types'; import type { BCMSGroup } from './models'; export interface BCMSGroupRepositoryMethods { findByName(name: string): Promise; findByCid(cid: string): Promise; findAllByCid(cids: string[]): Promise; findAllByPropGroupPointer(groupId: string): Promise; findAllByPropEntryPointer(templateId: string): Promise; findAllByPropTag(tagId: string): Promise; findAllByPropMedia(mediaId: string): Promise; findAllByPropWidget(widgetId: string): Promise; } export declare type BCMSGroupRepository = MongoDBCachedRepository | FSDBRepository;