import L from 'leaflet'; import 'leaflet-velocity'; import type { MyMap } from 'map-sdk-leaflet/es/sdk/ShipxyAPISDK'; interface WindyServiceOptions { ak: string; type: number; data: any; callback: (done: (list: any) => void) => void; } declare class WindyService { _viewState: boolean; _map: MyMap; lyGroup: L.LayerGroup; _isView: boolean; _velocityLayers: any; _forecasttime: any; _QBBeginTime: any; options: any; weatherMsg: any; constructor(map: MyMap, options?: Partial); private _Event; registEvent(): void; offRegistEvent(): void; init_velocityLayers(forecastTime: string, QBBeginTime: any): boolean; /** * 渲染风场及还流场 * @param data * @param velocityType */ private render; init_velocityLayersCallback(): void; init_OceanCurrentLayersCallback(): void; show(forecastTime: string, QBBeginTime: any): void; _zoomChange(isRemove?: boolean, isClearLayer?: boolean): void; hide(): void; _hide(isRemove?: boolean): void; } declare const windyService: (map: MyMap, options?: Partial | undefined) => WindyService; export { WindyService, windyService };