import { BasePolygon, Position, AbstractPolygon, IInfoWindowOptions, IPolygon, IPolygonStyle } from '@tuoyuan/map-adapter-lib';
export declare class TMapPolygon<T = any> extends BasePolygon<T> implements AbstractPolygon {
    private _ctx;
    private polygonData;
    protected currentLngLat: any;
    /** 天地图polygon实例 */
    polygonInstance: any;
    labelInstance: any;
    constructor(ctx: any, polygon: IPolygon<T>);
    private initEvent;
    renderPolygon(): void;
    private renderLabel;
    setFontSize(size: number): void;
    setBackgroundColor(color: string): void;
    setPath(path: Array<ConstructorParameters<typeof Position>>): void;
    setStyle(style: IPolygonStyle): void;
    openInfoWindow(options: IInfoWindowOptions): void;
    closeInfoWindow(): void;
    hidden(): void;
    show(): void;
    showLabel(): void;
    hiddenLabel(): void;
    getInstances(): any[];
    remove(): void;
}
