import { IMongooseEntityService } from 'purple-cheetah'; import { Media, MediaType } from './models/media.model'; export declare class MediaService implements IMongooseEntityService { private repo; findAll: () => Promise; findAllById: (ids: string[]) => Promise; findById: (id: string) => Promise; add: (e: Media) => Promise; update: (e: Media) => Promise; deleteById: (id: string) => Promise; deleteAllById: (ids: string[]) => Promise; findByPath(path: string): Promise; findByPathAndType(path: string, type: MediaType): Promise; findByNameAndPath(name: string, path: string): Promise; findByIsInRoot(isInRoot: boolean): Promise; }