import { DeepPartial, Repository } from 'typeorm'; import { BaseModel, WhereInput } from '../core'; import { StandardDeleteResponse } from './DeleteResponse'; export declare class BaseResolver { protected entityClass: any; protected repository: Repository; service: any; constructor(entityClass: any, repository: Repository); find(where?: any, orderBy?: any, // Fix this limit?: number, offset?: number, fields?: string[]): Promise; findOne(where: W): Promise; create(data: DeepPartial, userId: string): Promise; createMany(data: DeepPartial[], userId: string): Promise; update(data: DeepPartial, where: W, userId: string): Promise; delete(where: W, userId: string): Promise; }