import { Observable } from "rxjs";
type ObservableEvent<T> = {
    type: "complete";
} | {
    type: "error";
    error: unknown;
} | {
    type: "next";
    value: T;
};
/** @internal */
export declare function onAnyEvent<T>(handleEvent: (event: ObservableEvent<T>) => void): (observable: Observable<T>) => Observable<T>;
export {};
//# sourceMappingURL=observables.d.ts.map
