@elemental-design/expo-notifications
Version:
11 lines (10 loc) • 692 B
TypeScript
import { ProxyNativeModule } from '@unimodules/core';
import { NotificationChannel, NotificationChannelInput } from './NotificationChannelManager.types';
export interface NotificationChannelManager extends ProxyNativeModule {
getNotificationChannelsAsync: () => Promise<NotificationChannel[] | null>;
getNotificationChannelAsync: (channelId: string) => Promise<NotificationChannel | null>;
setNotificationChannelAsync: (channelId: string, channelConfiguration: NotificationChannelInput) => Promise<NotificationChannel | null>;
deleteNotificationChannelAsync: (channelId: string) => Promise<void>;
}
declare const _default: NotificationChannelManager;
export default _default;