import type { User } from "@/types/index.js"; export interface IUsersRepository { // create create(user: Partial, imageFile?: Express.Multer.File | null): Promise; // fetch findByEmail(email: string): Promise; findById(id: string): Promise; findAll(): Promise; // update updateById(id: string, patch: Partial, file?: Express.Multer.File | null): Promise; // delete deleteById(id: string): Promise; // other findSuperAdmin(): Promise; }