import Observable, { ObservableLike } from "./observable"; /** * Takes a "cold" observable and returns a wrapping "hot" observable that * proxies the input observable's values and errors. * * An observable is called "cold" when its initialization function is run * for each new subscriber. This is how observable-fns's `Observable` * implementation works. * * A hot observable is an observable where new subscribers subscribe to * the upcoming values of an already-initialiazed observable. * * The multicast observable will lazily subscribe to the source observable * once it has its first own subscriber and will unsubscribe from the * source observable when its last own subscriber unsubscribed. */ declare function multicast(coldObservable: ObservableLike): Observable; export default multicast;