export interface IBaseRepository { create(data: T | any, options?: any): Promise | any; findAll(options: any): Promise; findAllWithPagination(options: any): Promise<{ count: number; rows: T[] }>; findOne(options: any): Promise; }