import { Observer } from './Observer'; import { Observable } from './Observable'; export declare class Notification { kind: string; value: T; exception: any; hasValue: boolean; constructor(kind: string, value?: T, exception?: any); observe(observer: Observer): any; do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any; accept(nextOrObserver: Observer | ((value: T) => void), error?: (err: any) => void, complete?: () => void): any; toObservable(): Observable; private static completeNotification; private static undefinedValueNotification; static createNext(value: T): Notification; static createError(err?: any): Notification; static createComplete(): Notification; }