import type { FSDBRepository } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { MongoDBCachedRepository } from '@becomes/purple-cheetah-mod-mongodb-mem-cache/types'; import type { BCMSMedia } from './models'; export interface BCMSMediaRepositoryMethods { findAllByIsInRoot(isInRoot: boolean): Promise; findByNameAndParentId(name: string, parentId?: string): Promise; findAllByParentId(parentId: string): Promise; } export declare type BCMSMediaRepository = MongoDBCachedRepository | FSDBRepository;