import { Fetch } from '../utils'; import { Notification, GlobalErrorHandler } from '..'; export declare class NotificationApi { fetchInstance: Fetch; constructor(endpoint: string, token: string, onError?: GlobalErrorHandler); getNotifications: () => Promise; updateNotification: (notification: Notification) => Promise; markAllAsViewed: (channel?: number) => Promise; }