// @ts-nocheck import { StartOptions } from './framework-models'; import { FrameworkContextBrowserApp } from './framework-context-browser-app'; import { FrameworkContextBase } from './framework-context-base'; import type { BASE_CONTROLLER } from './framework-controller'; export declare class FrameworkContext extends FrameworkContextBase { static readonly initFunc: { initFN: Function; target: Function; }[]; get initFunc(): { initFN: Function; target: Function; }[]; readonly Providers: Function[]; private static readonly ngZoneInstance; static get isNgZoneInited(): boolean; static initNGZone(ngZoneInstance: any): void; private static contextByClassName; static get contexts(): FrameworkContext[]; static destroy(context: FrameworkContext): void; destroy(): void; static findByHost(host: string): FrameworkContext; /** * Get global context for target * @param target class name or class function or class object */ static findForTraget(target: Function | object | string): FrameworkContext; private static _isProductionModeAlreadySet; private static readonly _isProductionMode; static get isProductionMode(): boolean; static set isProductionMode(v: boolean); readonly uri: URL; private readonly context; readonly allowedHosts: URL[]; readonly disabledRealtime = false; browser: FrameworkContextBrowserApp; get ngZone(): any; get host(): string; get controllersClasses(): any[]; get allControllersInstances(): (object)[]; get crudControllersInstances(): BASE_CONTROLLER[]; private instances; /** * Get controller instace by name of class function */ getInstanceBy(ctrlClassOrName: Function | string): object | BASE_CONTROLLER; get entitiesClasses(): Function[]; constructor(context: StartOptions); private prepareEntities; private prepareControllers; private initAllControllersInstances; initNode(): Promise; initBrowser(): void; private initUrl; private checkContextIfExists; }