1import { ProxyNativeModule } from 'expo-modules-core'; 2 3import { Notification, NotificationContentInput } from './Notifications.types'; 4 5export interface NotificationPresenterModule extends ProxyNativeModule { 6 getPresentedNotificationsAsync?: () => Promise<Notification[]>; 7 presentNotificationAsync?: ( 8 identifier: string, 9 content: NotificationContentInput 10 ) => Promise<string>; 11 dismissNotificationAsync?: (identifier: string) => Promise<void>; 12 dismissAllNotificationsAsync?: () => Promise<void>; 13} 14