/**
 * MapboxService
 */
import { Bounds, ILngLat, IMapService, IMercator, IPoint, IStatusOptions, IViewport } from '@antv/l7-core';
import { Map } from '@antv/l7-map';
import 'reflect-metadata';
import { ISimpleMapCoord } from '../simpleMapCoord';
/**
 * AMapService
 */
export default class L7MapService implements IMapService<Map> {
    version: string;
    map: Map;
    simpleMapCoord: ISimpleMapCoord;
    bgColor: string;
    private readonly config;
    private readonly configService;
    private readonly coordinateSystemService;
    private eventEmitter;
    private viewport;
    private markerContainer;
    private cameraChangedCallback;
    private $mapContainer;
    setBgColor(color: string): void;
    addMarkerContainer(): void;
    getMarkerContainer(): HTMLElement;
    on(type: string, handle: (...args: any[]) => void): void;
    off(type: string, handle: (...args: any[]) => void): void;
    getContainer(): HTMLElement | null;
    getMapCanvasContainer(): HTMLElement;
    getSize(): [number, number];
    getType(): string;
    getZoom(): number;
    setZoom(zoom: number): Map;
    getCenter(): ILngLat;
    setCenter(lnglat: [number, number]): void;
    getPitch(): number;
    getRotation(): number;
    getBounds(): Bounds;
    getMinZoom(): number;
    getMaxZoom(): number;
    setRotation(rotation: number): void;
    zoomIn(option?: any, eventData?: any): void;
    zoomOut(option?: any, eventData?: any): void;
    setPitch(pitch: number): Map;
    panTo(p: [number, number]): void;
    panBy(x?: number, y?: number): void;
    fitBounds(bound: Bounds, fitBoundsOptions?: any): void;
    setMaxZoom(max: number): void;
    setMinZoom(min: number): void;
    setMapStatus(option: Partial<IStatusOptions>): void;
    setZoomAndCenter(zoom: number, center: [number, number]): void;
    setMapStyle(style: any): void;
    meterToCoord(center: [number, number], outer: [number, number]): number;
    pixelToLngLat(pixel: [number, number]): ILngLat;
    lngLatToPixel(lnglat: [number, number]): IPoint;
    containerToLngLat(pixel: [number, number]): ILngLat;
    lngLatToContainer(lnglat: [number, number]): IPoint;
    lngLatToMercator(lnglat: [number, number], altitude: number): IMercator;
    getModelMatrix(lnglat: [number, number], altitude: number, rotate: [number, number, number], scale?: [number, number, number], origin?: IMercator): number[];
    init(): Promise<void>;
    initMiniMap(): Promise<void>;
    destroy(): void;
    emit(name: string, ...args: any[]): void;
    once(name: string, ...args: any[]): void;
    getMapContainer(): HTMLElement | null;
    exportMap(type: 'jpg' | 'png'): string;
    onCameraChanged(callback: (viewport: IViewport) => void): void;
    private handleMiniCameraChanged;
    private handleCameraChanged;
    private creatAmapContainer;
    private getMapStyle;
}
