import type { TurboModule } from 'react-native'; /** * TurboModule spec for NotifeeApiModule. * * NOTE: Complex types use `any` for return types and `Object` for parameters * because React Native's Codegen parser only analyzes this single file and * cannot resolve type imports. Codegen supports only primitives, `Object`, * `Array`, and types defined inline in this file. * * * Type safety is preserved in the public API layer (NotifeeApiModule). */ export interface Spec extends TurboModule { getConstants(): { ANDROID_API_LEVEL: number; }; cancelAllNotifications(): Promise; cancelDisplayedNotifications(): Promise; cancelTriggerNotifications(): Promise; cancelAllNotificationsWithIds(ids: Array): Promise; cancelAllNotificationsWithIdsAndroid(ids: Array, notificationType: number, tag: string | null): Promise; getDisplayedNotifications(): Promise>; getTriggerNotifications(): Promise>; getTriggerNotificationIds(): Promise>; displayNotification(notification: Object): Promise; createTriggerNotification(notification: Object, trigger: Object): Promise; requestPermission(permissions: Object): Promise; getNotificationSettings(): Promise; getInitialNotification(): Promise; setNotificationConfig(config: Object): Promise; createChannel(channelMap: Object): Promise; createChannels(channelsArray: Array): Promise; createChannelGroup(channelGroupMap: Object): Promise; createChannelGroups(channelGroupsArray: Array): Promise; deleteChannel(channelId: string): Promise; deleteChannelGroup(channelGroupId: string): Promise; getChannel(channelId: string): Promise; getChannels(): Promise>; getChannelGroup(channelGroupId: string): Promise; getChannelGroups(): Promise>; isChannelCreated(channelId: string): Promise; isChannelBlocked(channelId: string): Promise; openAlarmPermissionSettings(): Promise; openNotificationSettings(channelId: string | null): Promise; openBatteryOptimizationSettings(): Promise; isBatteryOptimizationEnabled(): Promise; getPowerManagerInfo(): Promise; openPowerManagerSettings(): Promise; stopForegroundService(): Promise; hideNotificationDrawer(): void; addListener(eventName: string): void; removeListeners(count: number): void; cancelNotification(notificationId: string): Promise; cancelDisplayedNotification(notificationId: string): Promise; cancelTriggerNotification(notificationId: string): Promise; cancelDisplayedNotificationsWithIds(ids: Array): Promise; cancelTriggerNotificationsWithIds(ids: Array): Promise; getNotificationCategories(): Promise>; setNotificationCategories(categories: Array): Promise; setBadgeCount(count: number): Promise; getBadgeCount(): Promise; incrementBadgeCount(incrementBy: number): Promise; decrementBadgeCount(decrementBy: number): Promise; } declare const _default: Spec; export default _default;