2018-11-22 16:41:46 +01:00
|
|
|
import { Observable } from '../Observable';
|
|
|
|
import { ConnectableObservable } from '../observable/ConnectableObservable';
|
2019-06-04 14:29:48 +02:00
|
|
|
import { MonoTypeOperatorFunction, OperatorFunction, UnaryFunction, ObservableInput, ObservedValueOf } from '../types';
|
2018-11-22 16:41:46 +01:00
|
|
|
export declare function publish<T>(): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
|
2019-06-04 14:29:48 +02:00
|
|
|
export declare function publish<T, O extends ObservableInput<any>>(selector: (shared: Observable<T>) => O): OperatorFunction<T, ObservedValueOf<O>>;
|
2018-11-22 16:41:46 +01:00
|
|
|
export declare function publish<T>(selector: MonoTypeOperatorFunction<T>): MonoTypeOperatorFunction<T>;
|