export type ToastType = "success" | "warning" | "error"; import { Subscription } from 'rxjs'; import { RainbowNotification } from '@ale-rainbow/rainbow-notification'; import { Service } from '../../services/service'; export declare const NOTIF_VIEWER_SVC = "NotificationViewerService"; export declare class NotificationsViewerService extends Service { callNotifVisible: boolean; private rainbowNotifications; private rainbowNotifSubject; private readonly logger; private readonly i18n; private readonly ringingService; private readonly telephonyService; private readonly profileService; private readonly settingsService; private readonly webrtcP2PService; private readonly contactService; private readonly emojiService; private readonly eventService; private readonly urgencyLabels; static getInstance(): NotificationsViewerService; static build(): NotificationsViewerService; private constructor(); emitNotification(notifConfig: any): RainbowNotification; private replaceRelativeUnknowUserUrl; private replaceRainbowRoomUrl; private replaceRelativeDefaultChannelUrl; private replaceRelativeDefaultLogoRainbowUrl; private replaceHuntingGroupUrl; private replace3PCCMakecallUrl; private replace3PCCCallbackUrl; hideNotification(id: string): void; hideStopRingingNotification(id: string): void; subscribe(handler: any): Subscription; getRainbowNotificationIndexById(id: string): number; getCallRainbowNotificationIndexById(id: string): number; getRainbowNotificationByConvId(convId: string): RainbowNotification | undefined; private translateNotification; private checkVisibility; answerFirstVisibleAudioCall(): void; answerFirstVisibleVideoCall(): void; declineFirstVisibleCall(): void; getPermission(): string; requestPermission(): Promise; emitToastNotification(type: ToastType, text: string, duration?: number, partialLayout?: boolean): void; } //# sourceMappingURL=notificationsViewer.service.d.ts.map