import * as L from 'leaflet'; import type { MyMap } from 'map-sdk-leaflet/es/sdk/ShipxyAPISDK'; export interface AreaViewSymbolOptions { gsea_url: string; typ_url: string; ctyp_url: string; eez_url: string; time_url: string; seamap_url: string; bline_url: string; bline12_url: string; bline24_url: string; isShowName: boolean; } interface LayerWithShowArea { showArea: () => void; hideArea: () => void; } interface LayerWithoutShowArea { _isView: boolean; } declare type AreaLayer = LayerWithShowArea | LayerWithoutShowArea | L.Layer; declare class AreaViewSymbol { options: AreaViewSymbolOptions; protected _map: MyMap; protected _areaLayer: { [key: string]: AreaLayer; }; constructor(map: MyMap, option?: Partial); /** * 显示,全球海区 */ showArea(type: string, data?: any): this; hasView(): boolean; /** * 隐藏,全球海区 */ hideArea(type?: string): this; private areaLayerType; private _createArea; } declare const areaViewSymbol: (map: MyMap, options?: Partial | undefined) => AreaViewSymbol; export { AreaViewSymbol, areaViewSymbol };