UNPKG

react-native-notifications

Version:

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android

12 lines (11 loc) 684 B
import { NativeCommandsSender } from './NativeCommandsSender'; import { Notification } from ".."; import { NotificationActionResponse } from '../interfaces/NotificationActionResponse'; export declare class CompletionCallbackWrapper { private readonly nativeCommandsSender; constructor(nativeCommandsSender: NativeCommandsSender); wrapReceivedBackgroundCallback(callback: Function): (notification: Notification) => void; wrapReceivedForegroundCallback(callback: Function): (notification: Notification) => void; private wrapReceivedAndInvoke; wrapOpenedCallback(callback: Function): (notification: object, actionResponse?: NotificationActionResponse) => void; }