import { Observable } from 'rxjs'; import { Service, ServiceLike } from './service'; /** * Creates a service that switches and proxies to different services over time. * * @param initialService * The initial service to proxy to. * @param service$ * Subsequent services to proxy to. * @param getSwitchEffects * Observable factory for side-effects to perform when switching to a new service. The provided Observable will * immediately emit with the service that is current at the time of subscription, similar to a BehaviorSubject. * @param dependencies * Additional services to mix in to the created service. */ export declare function createSwitchingService(initialService: S, service$: Observable, getSwitchEffects?: (currentService$: Observable) => Observable, ...dependencies: ServiceLike[]): S;