import * as i0 from '@angular/core'; import { Type } from '@angular/core'; import { HsButton } from 'hslayers-ng/types'; import * as rxjs from 'rxjs'; import * as hslayers_ng_common_panels from 'hslayers-ng/common/panels'; import { HsPanelContainerService } from 'hslayers-ng/services/panels'; declare class HsPanelConstructorService { private hsConfig; private hsPanelContainerService; private hsSidebarService; constructor(); /** * Create HSLayers panel component based on name string */ private _createPanel; /** * INTERNAL. You most likely want to use 'createPanelAndButton' to create additional panel * @param name - Name of panel used in panelsEnabled config * @param data - Extra misc data object to be stored in panel * @param buttonDefinition - HS Button definition object */ _createPanelAndButton(name: string, data?: any, buttonDefinition?: HsButton): Promise; /** * Creates additional panel and sidebar button * @param name - Name of panel used in panelsEnabled config * @param buttonDefinition - HS Button definition object * @param data - Extra misc data object to be stored in panel */ createPanelAndButton(component: Type, buttonDefinition: HsButton, data?: any): void; /** * Wrapper function which creates panels and corresponding sidebar buttons * for panels which are set to be active in config.panelsEnabled */ createActivePanels(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class HsOverlayConstructorService extends HsPanelContainerService { private hsConfig; private hsToolbarPanelContainerService; private hsOverlayContainerService; private hsQueryPopupService; private injector; panels$: rxjs.Observable; /** * Create GUI component based on name string. */ private _createGuiComponent; /** * Wrapper function which creates GUI overlay components based on value * provided in config.componentsEnabled */ createGuiOverlay(): void; /** * NOTE: Duplicity but compiler keeps complaining about circular dependency */ private capitalizeFirstLetter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { HsOverlayConstructorService, HsPanelConstructorService };