import type { L7Container } from '../../inversify.config'; import type { IMapService } from '../map/IMapService'; import type { IControl, IControlCorners, IControlService, IControlServiceCfg } from './IControlService'; export default class ControlService implements IControlService { container: HTMLElement; controlCorners: IControlCorners; controlContainer: HTMLElement; scene: L7Container; mapsService: IMapService; private controls; private unAddControls; init(cfg: IControlServiceCfg, sceneContainer: L7Container): void; addControl(ctr: IControl, sceneContainer: L7Container): void; getControlByName(name: string | number): IControl | undefined; removeControl(ctr: IControl): this; addControls(): void; destroy(): void; private initControlPos; private clearControlPos; private checkCornerOverlap; }