/* Copyright IBM Corp. 2018 */ import { NgZone } from '@angular/core'; import { MonoTypeOperatorFunction, SchedulerLike } from 'rxjs'; /** * Service that exposes schedulers and operators that allow client code * to run inside or outside of angular zone. */ export declare class ZoneService { insideScheduler: SchedulerLike; outsideScheduler: SchedulerLike; /** * Operator to run the observer inside of a zone */ observeInside: () => MonoTypeOperatorFunction; /** * Operator to subscribe outside of a zone */ subscribeOutside: () => MonoTypeOperatorFunction; constructor(aZone: NgZone); } /** * Helper operator to assert that a function is executed in an angular zone * * @return the assertion operator */ export declare function opAssertInAngularZone(): MonoTypeOperatorFunction;