import L from 'leaflet'; export interface WeatherArrowOptions extends L.LayerOptions { size?: number; direction?: number; color?: string; stroke?: boolean; weight?: number; fill?: boolean; fillColor?: string; fillOpacity?: number; item: { speed: any; direction: any; direction_old: any; }; } declare class WeatherArrow extends L.Path { private _latlng; private _size; private _direction; private _arrowSymbol; constructor(latlng: L.LatLngLiteral | L.LatLng, options?: WeatherArrowOptions); setColor(color: string): this; setFillOpacity(fillOpacity: number): this; setOpacity(opacity: number): this; setWeight(weight: number): this; setFill(fill: boolean): this; setStroke(stroke: boolean): this; setFillColor(fillColor: string): this; protected _project(): void; protected _update(): void; protected _setPath(): void; setLatLng(latlng: L.LatLngLiteral | L.LatLng): this; setDirection(direction: number): this; private _getLatSizeOf; private _getLngSizeOf; getLatLng(): L.LatLng; private _rotate; private _rotateAllPoints; private _transformAllPointsToView; private _createPathFromPoints; private _createViewAngleFromModel; getPathString(): string; } declare const weatherArrow: (latlng: L.LatLngLiteral | L.LatLng, options?: WeatherArrowOptions | undefined) => WeatherArrow; export { weatherArrow };