import { Module } from './types/Module'; import { AndroidChannel, AndroidChannelGroup, NativeAndroidChannel, NativeAndroidChannelGroup } from './types/NotificationAndroid'; import { InitialNotification, Notification, Event, TriggerNotification, DisplayedNotification, NotificationSettings } from './types/Notification'; import { PowerManagerInfo } from './types/PowerManagerInfo'; import { Trigger } from './types/Trigger'; import NotifeeNativeModule, { NativeModuleConfig } from './NotifeeNativeModule'; import { IOSNotificationCategory, IOSNotificationPermissions } from './types/NotificationIOS'; import type { FcmConfig, FcmRemoteMessage } from './fcm/types'; import type { NotificationConfig } from './types/NotificationConfig'; /** * Returns the current notification configuration set via `setNotificationConfig()`. * This is primarily intended for internal use and for consumers who need to check * the current config state. */ export declare function getNotificationConfig(): NotificationConfig; export default class NotifeeApiModule extends NotifeeNativeModule implements Module { constructor(config: NativeModuleConfig); getTriggerNotificationIds: () => Promise; getTriggerNotifications: () => Promise; getDisplayedNotifications: () => Promise; isChannelBlocked: (channelId: string) => Promise; isChannelCreated: (channelId: string) => Promise; cancelAllNotifications: (notificationIds?: string[], tag?: string) => Promise; cancelDisplayedNotifications: (notificationIds?: string[], tag?: string) => Promise; cancelTriggerNotifications: (notificationIds?: string[]) => Promise; cancelNotification: (notificationId: string, tag?: string) => Promise; cancelDisplayedNotification: (notificationId: string, tag?: string) => Promise; cancelTriggerNotification: (notificationId: string) => Promise; createChannel: (channel: AndroidChannel) => Promise; createChannels: (channels: AndroidChannel[]) => Promise; createChannelGroup: (channelGroup: AndroidChannelGroup) => Promise; createChannelGroups: (channelGroups: AndroidChannelGroup[]) => Promise; deleteChannel: (channelId: string) => Promise; deleteChannelGroup: (channelGroupId: string) => Promise; displayNotification: (notification: Notification) => Promise; handleFcmMessage: (remoteMessage: FcmRemoteMessage) => Promise; setFcmConfig: (config: FcmConfig) => Promise; setNotificationConfig: (config: NotificationConfig) => Promise; openAlarmPermissionSettings: () => Promise; createTriggerNotification: (notification: Notification, trigger: Trigger) => Promise; getChannel: (channelId: string) => Promise; getChannels: () => Promise; getChannelGroup: (channelGroupId: string) => Promise; getChannelGroups: () => Promise; getInitialNotification: () => Promise; onBackgroundEvent: (observer: (event: Event) => Promise) => void; onForegroundEvent: (observer: (event: Event) => void) => (() => void); openNotificationSettings: (channelId?: string) => Promise; requestPermission: (permissions?: IOSNotificationPermissions) => Promise; registerForegroundService(runner: (notification: Notification) => Promise): void; setNotificationCategories: (categories: IOSNotificationCategory[]) => Promise; getNotificationCategories: () => Promise; getNotificationSettings: () => Promise; getBadgeCount: () => Promise; setBadgeCount: (count: number) => Promise; incrementBadgeCount: (incrementBy?: number) => Promise; decrementBadgeCount: (decrementBy?: number) => Promise; isBatteryOptimizationEnabled: () => Promise; openBatteryOptimizationSettings: () => Promise; getPowerManagerInfo: () => Promise; openPowerManagerSettings: () => Promise; stopForegroundService: () => Promise; hideNotificationDrawer: () => void; }