import { DocumentType, ReturnModelType } from '@typegoose/typegoose'; import { CouchdbStaticService } from '~backend/couchdb/couchdb-static/couchdb-static.service'; import { Warehouse, Profile } from '../business.model'; export declare class WarehouseService { readonly warehouseModel: ReturnModelType; private readonly couchdbStaticService; private readonly logger; constructor(warehouseModel: ReturnModelType, couchdbStaticService: CouchdbStaticService); all(): any; findByBusinessId(businessId: string): Promise; find(id: string): Promise>; updateProfile(id: string, profile: Profile): Promise; create(payload: Warehouse): Promise; delete(id: string): Promise; }