UNPKG

1.06 kBTypeScriptView Raw
1import { SchedulerAction, SchedulerLike, Subscription } from 'rxjs';
2import * as i0 from "@angular/core";
3export declare enum LogLevel {
4 "SILENT" = 0,
5 "WARN" = 1,
6 "VERBOSE" = 2
7}
8export declare const setLogLevel: (logLevel: LogLevel) => LogLevel;
9/**
10 * Schedules tasks so that they are invoked inside the Zone that is passed in the constructor.
11 */
12export declare class ɵZoneScheduler implements SchedulerLike {
13 private zone;
14 private delegate;
15 constructor(zone: any, delegate?: any);
16 now(): any;
17 schedule(work: (this: SchedulerAction<any>, state?: any) => void, delay?: number, state?: any): Subscription;
18}
19export declare class ɵAngularFireSchedulers {
20 readonly outsideAngular: ɵZoneScheduler;
21 readonly insideAngular: ɵZoneScheduler;
22 constructor();
23 static ɵfac: i0.ɵɵFactoryDeclaration<ɵAngularFireSchedulers, never>;
24 static ɵprov: i0.ɵɵInjectableDeclaration<ɵAngularFireSchedulers>;
25}
26export declare const ɵzoneWrap: <T = unknown>(it: T, blockUntilFirst: boolean, logLevel?: LogLevel) => T;