import { Entity, Response, Send } from "@rtcts/isomorphic"; import { MongoDBRepository } from "./MongoDBRepository"; export declare class SingleObjectModel { protected readonly Entity: new (data: any) => ENTITY; protected readonly repository: MongoDBRepository; protected readonly sendThroughWebSocket: Send; constructor(Entity: new (data: any) => ENTITY, repository: MongoDBRepository, sendThroughWebSocket: Send); getItemResponse(): Promise; updateResponse(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; getItem(): Promise; update(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; }