import NotificationEvent from '../models/NotificationEvent'; import NotificationEventBuilder from '../builders/NotificationEventBuilder'; /** * Responsible for handling Shake notification events. */ declare class NotificationTracker { shake: any; enabled: boolean; filter: ((requestBuilder: NotificationEventBuilder) => NotificationEventBuilder | null) | null; constructor(shake: any); /** * Enables or disables notification tracker. * @param enabled true to enable, otherwise false */ setEnabled: (enabled: boolean) => void; /** * Sets notification events filter. * @param filter filter function */ setFilter: (filter: ((requestBuilder: NotificationEventBuilder) => NotificationEventBuilder | null) | null) => void; /** * Inserts notification event to the database. * @param notificationEventBuilder builder */ insertNotificationEvent: (notificationEventBuilder: NotificationEventBuilder) => void; /** * Handles network tracker configuration. * @private */ _onConfigChanged: () => void; /** * Triggered when new notification is detected. * @param data notification event data * @private */ _onNotificationEventReceived: (data: any) => void; /** * Maps notification event data to {@link NotificationEvent} model * @param data notification event data * @return {NotificationEvent} notification event object * @private */ _mapToNotificationEvent: (data: any) => NotificationEvent; } export default NotificationTracker; //# sourceMappingURL=NotificationTracker.d.ts.map