export declare class TslMapClient {
  initMap(container: string, mParams: object, extent: MapExtent);
  addPointsLayer(
    layername: string,
    geoObj: Array<any>,
    isLabel: boolean,
    isClickable: boolean
  );
  addLinesLayer(
    layername: string,
    geoObj: Array<any>,
    style: MapLineStyle,
    isLabel: boolean
  );
  addPolygonLayer(layername: string, geoObj: Array<any>, style: object);
  //   getLyrIndexByName(lyrname);
  //   clearDataLayer(layername);
  //   clearElement(layerName, index, element);
  //   getLyrByName(lyrname);
  //   getLyrFullName(key);
  //   getLayerNamebyVisibility(visible);
  //   setLayerVisibility(visible, layername);
  //   insertDataIntoLayer(layer, geoObj);
  //   showStranger(
  //     x,
  //     y,
  //     inLoc,
  //     firstLoc,
  //     inTime,
  //     firstTime,
  //     similarity,
  //     inPic,
  //     firstPic
  //   );
  //   showVideo(x, y, title, streamSource);
  //   showCar(x, y, dateTime, loc, plate, status, pic);
  //   closePopup();
  //   showPopup(x, y, content, n);
  //   showName(evt);
  //   hideName(evt);
  //   setbackExtent(extObj);
}

export declare class MapExtent {
  xmin: number;
  ymin: number;
  xmax: number;
  ymax: number;
}

export declare class MapPolyline {
  id: string;
  path: [];
  style: MapLineStyle;
}

export declare class MapLineStyle {
  color: string;
  width: string;
  opacity: string;
  lineType: string;
}

export declare class MapIconParams {
  styles: string;
  width: number;
  height: number;
  maxWidth: number;
  maxHeight: number;
  extension: string;
  xOffset: number;
  yOffset: number;
}
