import INotificationRepository from '../../types/INotificationRepository.js'; import { QueryParams } from '../../types/INotificationsStoresCollection.js'; import INotificationStore from '../../types/INotificationStore.js'; import IRemoteNotification from '../../types/IRemoteNotification.js'; import RemoteRepository from '../repository/RemoteRepository.js'; interface IWrappedNotification { notification: IRemoteNotification; } /** * Class to interact with the notification API endpoints. * * @example * const repo = new NotificationRepository(); * const notifications = repo.findBy({ unseen: true }); */ export default class NotificationRepository extends RemoteRepository implements INotificationRepository { constructor(remotePathOrUrl?: string); archive(id: string): Promise; unarchive(id: string): Promise; markAsRead(id: string): Promise; markAsUnread(id: string): Promise; markAllAsSeen(params?: Omit): Promise; markAllAsRead(params?: Omit): Promise; } export {};