import { ProxyNativeModule } from 'expo-modules-core'; import { NotificationChannel } from './NotificationChannelManager.types'; /** * An object represents a notification channel group. * @platform android */ export interface NotificationChannelGroup { id: string; name: string | null; description?: string | null; isBlocked?: boolean; channels: NotificationChannel[]; } /** * An object represents a notification channel group to be set. * @platform android */ export interface NotificationChannelGroupInput { name: string | null; description?: string | null; } export interface NotificationChannelGroupManager extends ProxyNativeModule { getNotificationChannelGroupsAsync?: () => Promise; getNotificationChannelGroupAsync?: (groupId: string) => Promise; setNotificationChannelGroupAsync?: ( groupId: string, group: NotificationChannelGroupInput ) => Promise; deleteNotificationChannelGroupAsync?: (groupId: string) => Promise; }