import { LoginOptions, NotificationMetadata, NotificationHandlerOptions, Configuration, InboxNotification } from './Utils/util'; import { InboxRetrievalAsyncIterator } from './InboxIterators/InboxRetrievalAsyncIterator'; export declare class NotificationHandler { config: Configuration; auth?: any; constructor(config: NotificationHandlerOptions); /** * Send a notification * @param url * @param notification */ sendNotification(notificationData: NotificationMetadata): Promise; /** * Check if passed parameters allow to create a notification, to catch errors early in the lifecycle * @param notificationData */ private checkNotificationData; clearNotifications(params: { webId?: string; notificationIds?: string[]; filters?: any[]; }): Promise; fetchNotifications(params: { webId?: string; inbox?: string; systemNotificationFormat?: Function; notificationIds?: []; filters?: any[]; notify?: boolean; }): Promise>; watchNotifications(params: { webId?: string; inbox?: string; systemNotificationFormat?: Function; notificationIds?: []; filters?: any[]; notify?: boolean; }): Promise; login(loginOpts?: LoginOptions): Promise; loginPopup(popupURI: string): Promise; private getWebId; logout(): Promise; } //# sourceMappingURL=NotificationHandler.d.ts.map