import { BaseService } from './base.service'; import { BaseModel } from './base.model'; export declare abstract class BaseController { protected readonly service: BaseService; protected constructor(service: BaseService); create(doc: Partial): Promise; deleteById(id: string): Promise; findById(id: string): Promise; find(filter: string): Promise; update(id: string, doc: Partial): Promise; }