import { ZenObservable } from './types'; export { ZenObservable }; export declare type Observer = ZenObservable.Observer; export declare type Subscriber = ZenObservable.Subscriber; export declare type ObservableLike = ZenObservable.ObservableLike; export declare const Observable: { new (subscriber: Subscriber): Observable; from(observable: Observable | ZenObservable.ObservableLike | ArrayLike): Observable; of(...args: Array): Observable; }; export interface Observable { subscribe(observerOrNext: ((value: T) => void) | ZenObservable.Observer, error?: (error: any) => void, complete?: () => void): ZenObservable.Subscription; forEach(fn: (value: T) => void): Promise; map(fn: (value: T) => R): Observable; filter(fn: (value: T) => boolean): Observable; reduce(fn: (previousValue: R | T, currentValue: T) => R | T, initialValue?: R | T): Observable; flatMap(fn: (value: T) => ZenObservable.ObservableLike): Observable; from(observable: Observable | ZenObservable.ObservableLike | ArrayLike): Observable; of(...args: Array): Observable; } //# sourceMappingURL=zenObservable.d.ts.map