import { EntityManager } from 'typeorm'; import { MediaDataService } from 'src/module/meta/service/media-data.service'; import * as admin from 'firebase-admin'; import { ConfigService } from '@nestjs/config'; import { ReflectionHelper } from 'src/utils/service/reflection-helper.service'; import { NotificationRepository } from '../repository/notification.repository'; export declare class NotificationsService { private readonly entityManager; private readonly mediaDataService; private readonly configService; private readonly reflectionHelper; private readonly firebaseAdmin; private readonly notificationRepository; constructor(entityManager: EntityManager, mediaDataService: MediaDataService, configService: ConfigService, reflectionHelper: ReflectionHelper, firebaseAdmin: typeof admin, notificationRepository: NotificationRepository); private tokens; saveToken(userId: string | undefined, token: string): Promise<{ success: boolean; token: string; }>; sendToDevice(token: string, title: string, body: string, data?: Record): Promise; sendToUser(userId: string, title: string, body: string): Promise; getAllNotifications(loggedInUser: any, filterQuery?: { is_read?: string; }): Promise; markAllAsRead(loggedInUser: any): Promise<{ success: boolean; affectedRows: number; }>; }