import { ComponentFactoryResolver, ViewContainerRef, OnInit, Type, NgZone, InjectionToken, Injector } from '@angular/core'; import { GoldenLayoutService, ComponentInitCallbackFactory, ComponentInitCallback } from './golden-layout.service'; export declare const GoldenLayoutContainer: InjectionToken<{}>; export declare const GoldenLayoutComponentState: InjectionToken<{}>; export declare class GoldenLayoutComponent implements OnInit, ComponentInitCallbackFactory { private glService; private viewContainer; private componentFactoryResolver; private ngZone; private readonly injector; private goldenLayout; private el; constructor(glService: GoldenLayoutService, viewContainer: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, ngZone: NgZone, injector: Injector); ngOnInit(): void; private _createLayout(layout); onResize(event: any): void; createComponentInitCallback(componentType: Type): ComponentInitCallback; /** * Creates an injector capable of injecting the GoldenLayout object, * component container, and initial component state. */ private _createComponentInjector(container, componentState); /** * Registers an event handler for each implemented hook. * @param container Golden Layout component container. * @param component Angular component instance. */ private _bindEventHooks(container, component); }