///
import { ILayerService, IStartStopService, GeojsonPlusLayer, ILayerAction, LayerServerServiceOptions, MapDatasource, IMapLayer } from '..';
export declare class LayerServerService implements ILayerService, IStartStopService {
get socket(): SocketIOClient.Socket | undefined;
get mapDraw(): any;
id: string;
title?: string | undefined;
options?: LayerServerServiceOptions;
type: string;
layers: IMapLayer[];
manager?: MapDatasource;
constructor(init?: Partial);
getInstance(init?: Partial): IStartStopService;
Start(manager: MapDatasource): Promise;
disableLayerSocket(gl: GeojsonPlusLayer): void;
initLayerSocket(gl: GeojsonPlusLayer): void;
updateLayer(layer: IMapLayer): void;
getLayerActions(layer: IMapLayer): ILayerAction[];
Stop(manager: MapDatasource): void;
private createLiveLayer;
private initLiveLayer;
/** update live layer, after complete update */
private updateLiveLayer;
/** update live layer, after feature update */
private updateLiveLayerFeature;
/** update live layer, after feature update */
private updateLiveLayerFeatures;
private initEditableLayer;
/** remove previously added layers */
private removeExistingLayers;
}