UNPKG

@elemental-design/expo-notifications

Version:
11 lines (10 loc) 729 B
import { ProxyNativeModule } from '@unimodules/core'; import { NotificationChannelGroup, NotificationChannelGroupInput } from './NotificationChannelGroupManager.types'; export interface NotificationChannelGroupManager extends ProxyNativeModule { getNotificationChannelGroupsAsync: () => Promise<NotificationChannelGroup[]>; getNotificationChannelGroupAsync: (groupId: string) => Promise<NotificationChannelGroup | null>; setNotificationChannelGroupAsync: (groupId: string, group: NotificationChannelGroupInput) => Promise<NotificationChannelGroup | null>; deleteNotificationChannelGroupAsync: (groupId: string) => Promise<void>; } declare const _default: NotificationChannelGroupManager; export default _default;