import { InjectionToken, Provider, Type } from '@angular/core'; import 'reflect-metadata'; export type CycleType = 'destroy' | 'afterViewInit' | 'change' | 'init'; export type TestCase = { name: string; x: boolean; f: boolean; }; export declare const TEST_CASES: Map>; export declare const TEST_CASES_ONLY: Map>; export type DecoratedClass = { ctor: ClassConstructor; args: Array; }; export type DecoratedClasses = Map>; export interface AngularComponentCtor { new (...args: any): any; prototype: any; ɵfac: any; ɵdir: any; } export interface ClassConstructor { new (...args: any): any; prototype: any; } export type ClassDecorators = Map>>>; export type DecoratorMetadata = { prop: string; arg: T; }; export type NgServiceParamType = Type | string | InjectionToken; export type NgServiceArguments = { type: NgServiceParamType; def?: any; }; export type DecoratorParameterType = CycleType | TestCase | NgServiceArguments | string; export declare function Cabled(type: NgServiceParamType, def?: any): any; export declare function Watcher(prop: string): any; export declare function NgCycle(cycle: CycleType): any; export declare function PostConstruct(): any; export declare function DecoratedClass(ctor: ClassConstructor | AngularComponentCtor): any; export declare function NgTestUnit(providers?: Array): (ctor: ClassConstructor) => ClassConstructor; export declare function NgTest(name?: string): any; export declare function FNgTest(name?: string): any; export declare function XNgTest(name?: string): any; export declare function getDependencies(ctor: ClassConstructor): Array>; export declare function getCycles(instance: Function): Array>; export declare function getWatchers(instance: Function): Array>; export declare function getTestunits(): Array<{ new (...args: any): any; prototype: any; }>; export declare function getTestcases(instance: Function): Array>; export declare function bootstrapModule(providers: Array): void; export declare function processDependencies(instance: Function): void; export declare function __decorateProperty(decorationName: string, arg: T): any; export declare function __decorateClass(ctor: ClassConstructor, decoration: string, args?: any): ClassConstructor; export declare function __getDecorations(ctor: ClassConstructor, key: string): Array>; export declare function __getDecoratedClasses(key: string): Array;