import { Observable, ObservedValueOf } from 'rxjs'; import { BasicLogger } from './logging'; export declare type TagNotification = 'next' | 'error' | 'complete' | 'subscribe' | 'unsubscribe'; export declare type NotificationInfo = { notification: 'next'; value: T; } | { notification: 'error'; error: unknown; } | { notification: 'complete'; lastValue?: T; } | { notification: 'subscribe'; } | { notification: 'unsubscribe'; lastValue?: T; } | { notification: K; lastValue?: T; }; export declare function executeOnNotifications>(notifications: Array, cb: (info: NotificationInfo>) => void, logger?: BasicLogger): (stream: Observable) => Observable;