import type { RaContainer } 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; maplet: RaContainer; mapsService: IMapService; private controls; private unAddControls; init(cfg: IControlServiceCfg, mapletContainer: RaContainer): void; addControl(ctr: IControl, mapletContainer: RaContainer): void; getControlByName(name: string | number): IControl | undefined; removeControl(ctr: IControl): this; addControls(): void; destroy(): void; private initControlPos; private clearControlPos; private checkCornerOverlap; }