import { Type } from '@angular/core'; import * as GoldenLayout from 'golden-layout'; import { IGoldenLayoutConfiguration } from './config'; /** * golden-layout component initialization callback type. */ export interface IComponentInitCallback extends Function { (container: GoldenLayout.Container, componentState: any): void; } export interface IComponentInitCallbackFactory { createComponentInitCallback(component: Type): IComponentInitCallback; } export declare class GoldenLayoutService { readonly config: IGoldenLayoutConfiguration; constructor(config: IGoldenLayoutConfiguration); registerComponents(goldenLayout: GoldenLayout, componentInitCallbackFactory: IComponentInitCallbackFactory): void; }