import { Subscribable, Subscriber, Source, Subscription } from './interfaces'; import { Multicast } from './multicast/Multicast'; export declare class Stream implements Subscribable { source: Multicast; constructor(source: Source); static from(input: Subscribable | ArrayLike): Stream; static of(...items: T[]): Stream; subscribe(nextOrSubscriber?: Subscriber | ((x: T) => any), error?: (e: Error) => any, complete?: (x?: T) => any): Subscription; }