import { AbstractNotificationsServiceApiProxy, IProxyArgs } from './notifications-service-api.proxy'; import { BaseAxiosHttpRequestService } from '@laqus/base/infrastructure/http'; import { INotificationDto, ISendNotificationDto } from '@laqus/notifications/infrastructure/laqus/notifications-api/models'; import { IGetNotificationsArgs } from '@laqus/notifications/application'; import { ILaqusNotificationsServiceConfig } from '@laqus/notifications/config'; export interface INotificationProxy { sendNotification(notification: ISendNotificationDto, args: IProxyArgs): Promise; getAll(onlyNotAck: boolean, args: IProxyArgs): Promise; ackNotification(notificationId: string, receiverId: string, args: IProxyArgs): Promise; } export declare class ApiNotificationError extends Error { } export declare class NotificationProxy extends AbstractNotificationsServiceApiProxy implements INotificationProxy { protected readonly http: BaseAxiosHttpRequestService; constructor(config: ILaqusNotificationsServiceConfig, http: BaseAxiosHttpRequestService); private logApiError; sendNotification(notification: ISendNotificationDto, args: IProxyArgs): Promise; getAll(onlyNotAck: boolean, args: IProxyArgs, filter?: IGetNotificationsArgs): Promise; ackNotification(notificationId: string, receiverId: string, args: IProxyArgs): Promise; }