export interface ApsPayload { alert?: string | AlertPayload; badge?: number; sound?: string; category?: string; 'content-available'?: string; 'mutable-content'?: string; tl_id?: string; } export interface AlertPayload { title: string; body: string; } declare type TaplyticsNotificationCustomKeys = { [key: string]: string; }; export declare type TaplyticsiOSNotification = { aps: ApsPayload; } & TaplyticsNotificationCustomKeys; export declare type TaplyticsAndroidNotification = { tl_id: string; custom_keys: { tl_title: string; } & TaplyticsNotificationCustomKeys; }; export declare type TaplyticsNotificationListener = (notification: TaplyticsAndroidNotification | TaplyticsiOSNotification) => void; export {};