1 | import { InjectionToken, Type } from '@angular/core';
|
2 | export declare function getSourceForInstance<T>(instance: T): T;
|
3 | export declare function isClassInstance(obj: object): boolean;
|
4 | export declare function isClass(classOrRecord: Type<unknown> | Record<string, unknown>): classOrRecord is Type<unknown>;
|
5 | export declare function getClasses(classesAndRecords: Array<Type<unknown> | Record<string, unknown>>): Type<unknown>[];
|
6 | export declare function isToken(tokenOrRecord: Type<unknown> | InjectionToken<unknown> | Record<string, unknown>): tokenOrRecord is Type<unknown> | InjectionToken<unknown>;
|
7 | export interface NextNotification<T> {
|
8 | kind: 'N';
|
9 | value: T;
|
10 | }
|
11 | export interface ErrorNotification {
|
12 | kind: 'E';
|
13 | error: any;
|
14 | }
|
15 | export interface CompleteNotification {
|
16 | kind: 'C';
|
17 | }
|
18 | export type ObservableNotification<T> = NextNotification<T> | ErrorNotification | CompleteNotification;
|