import { Entity, ListResponse, Response, Send } from "@rtcts/isomorphic"; import { MongoDBRepository } from "./MongoDBRepository"; export declare class Model { 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); getListResponse(offset?: number, limit?: number): Promise; getItemResponse(id: string): Promise; createResponse(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; updateResponse(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; removeResponse(id: string, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; getMap(offset?: number, limit?: number): Promise>; create(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; update(data: object, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; remove(id: string, uid: string, wsid: string, excludeRequestingDevice?: boolean): Promise; }