1import { UnavailabilityError } from 'expo-modules-core'; 2import NotificationChannelManager from './NotificationChannelManager'; 3export default async function getNotificationChannelsAsync() { 4 if (!NotificationChannelManager.getNotificationChannelsAsync) { 5 throw new UnavailabilityError('Notifications', 'getNotificationChannelsAsync'); 6 } 7 return (await NotificationChannelManager.getNotificationChannelsAsync()) ?? []; 8} 9//# sourceMappingURL=getNotificationChannelsAsync.android.js.map