import type { FSDBRepository } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { MongoDBCachedRepository } from '@becomes/purple-cheetah-mod-mongodb-mem-cache/types'; import type { BCMSTemplate } from './models'; export interface BCMSTemplateRepositoryMethods { findByRef(ref: string): Promise; 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 BCMSTemplateRepository = MongoDBCachedRepository | FSDBRepository;