import { Subscriber, IObserver, IntoObservable, IObservable } from "./types"; import { Subscription } from "./subscription"; export declare class Observable implements IObservable { private _subscriber; constructor(subscriber: Subscriber); subscribe(observer: IObserver): Subscription; subscribe(next: (val: T) => any, error?: (err: Error) => void, complete?: (val: any) => void): Subscription; static of(...xs: T[]): Observable; static from($: IntoObservable): Observable; }