import { ICollection } from './collection.interface'; export interface IRepository { findAll( page: number, perPage: number, params?: any, include?: any, ): Promise>; findOne(where: any, include?: any): Promise; findOneByUuid(uuid: string, include?: any): Promise; create(entity: Partial | any, include?: any): Promise; update(uuid: string, entity: Partial, include?: any): Promise; updateWhere(where: any, entity: Partial | any, include?: any): Promise; delete(uuid: string): Promise; deleteMany(where: any): Promise; healthCheck(): Promise; }