import { IMongooseEntityService, Entity } from 'purple-cheetah'; export declare abstract class Cache { protected service: IMongooseEntityService; protected cache: T[]; constructor(service: IMongooseEntityService); findAll(): Promise; findAllById(ids: string[]): Promise; findById(id: string): Promise; add(e: T): Promise; update(e: T): Promise; deleteById(id: string): Promise; deleteAllById(ids: string[]): Promise; }