1 | import { NgZone } from '@angular/core';
|
2 | import { Observable, Operator, SchedulerAction, SchedulerLike, Subscriber, Subscription, TeardownLogic } from 'rxjs';
|
3 |
|
4 |
|
5 |
|
6 | export declare class ɵZoneScheduler implements SchedulerLike {
|
7 | private zone;
|
8 | private delegate;
|
9 | constructor(zone: any, delegate?: any);
|
10 | now(): any;
|
11 | schedule(work: (this: SchedulerAction<any>, state?: any) => void, delay?: number, state?: any): Subscription;
|
12 | }
|
13 | export declare class ɵBlockUntilFirstOperator<T> implements Operator<T, T> {
|
14 | private zone;
|
15 | private task;
|
16 | constructor(zone: any);
|
17 | call(subscriber: Subscriber<T>, source: Observable<T>): TeardownLogic;
|
18 | private unscheduleTask;
|
19 | }
|
20 | export declare class ɵAngularFireSchedulers {
|
21 | ngZone: NgZone;
|
22 | readonly outsideAngular: ɵZoneScheduler;
|
23 | readonly insideAngular: ɵZoneScheduler;
|
24 | constructor(ngZone: NgZone);
|
25 | }
|
26 | /**
|
27 | * Operator to block the zone until the first value has been emitted or the observable
|
28 | * has completed/errored. This is used to make sure that universal waits until the first
|
29 | * value from firebase but doesn't block the zone forever since the firebase subscription
|
30 | * is still alive.
|
31 | */
|
32 | export declare function ɵkeepUnstableUntilFirstFactory(schedulers: ɵAngularFireSchedulers): <T>(obs$: Observable<T>) => Observable<T>;
|
33 | declare type FunctionPropertyNames<T> = {
|
34 | [K in keyof T]: T[K] extends Function ? K : never;
|
35 | }[keyof T];
|
36 | declare type PromiseReturningFunctionPropertyNames<T> = {
|
37 | [K in FunctionPropertyNames<T>]: ReturnType<T[K]> extends Promise<any> ? K : never;
|
38 | }[FunctionPropertyNames<T>];
|
39 | declare type NonPromiseReturningFunctionPropertyNames<T> = {
|
40 | [K in FunctionPropertyNames<T>]: ReturnType<T[K]> extends Promise<any> ? never : K;
|
41 | }[FunctionPropertyNames<T>];
|
42 | declare type NonFunctionPropertyNames<T> = {
|
43 | [K in keyof T]: T[K] extends Function ? never : K;
|
44 | }[keyof T];
|
45 | export declare type ɵPromiseProxy<T> = {
|
46 | [K in NonFunctionPropertyNames<T>]: Promise<T[K]>;
|
47 | } & {
|
48 | [K in NonPromiseReturningFunctionPropertyNames<T>]: (...args: Parameters<T[K]>) => Promise<ReturnType<T[K]>>;
|
49 | } & {
|
50 | [K in PromiseReturningFunctionPropertyNames<T>]: (...args: Parameters<T[K]>) => ReturnType<T[K]>;
|
51 | };
|
52 | export declare const ɵlazySDKProxy: (klass: any, observable: Observable<any>, zone: NgZone, options?: {
|
53 | spy?: {
|
54 | get?: (name: string, it: any) => void;
|
55 | apply?: (name: string, args: any[], it: any) => void;
|
56 | };
|
57 | }) => any;
|
58 | export declare const ɵapplyMixins: (derivedCtor: any, constructors: any[]) => void;
|
59 | export {};
|