import { UnavailabilityError } from '@unimodules/core'; import NotificationChannelManager from './NotificationChannelManager'; export default async function deleteNotificationChannelAsync(channelId: string): Promise { if (!NotificationChannelManager.deleteNotificationChannelAsync) { throw new UnavailabilityError('Notifications', 'deleteNotificationChannelAsync'); } return await NotificationChannelManager.deleteNotificationChannelAsync(channelId); }