import Nomalism from '@nomalism-com/types'; import { IModuleConstructor } from '../../main'; export default class Repository implements Nomalism.Chat.IRepository { route: string; private api; constructor({ api, route }: IModuleConstructor); findByOwnerId(params: Nomalism.shared.IFindByIdRequest): Promise; create(body: Nomalism.Chat.ICreateRequest): Promise; update({ id }: Nomalism.shared.IFindByIdRequest, body: Nomalism.Chat.IUpdateRequest): Promise; deleteOne({ id }: Nomalism.shared.IFindByIdRequest): Promise; resendLast({ id }: Nomalism.shared.IFindByIdRequest): Promise; markAllAsRead({ id }: Nomalism.shared.IFindByIdRequest): Promise; markAllAsUnread({ id }: Nomalism.shared.IFindByIdRequest): Promise; publicMarkAllClientReadUnread(params: Nomalism.Chat.IMarkAllClientReadUnreadRequest): Promise; translate(body: Nomalism.Chat.ITranslateRequest): Promise; }