import { ShipInfoVo } from '../../interface';
import { SHIP_DIRECT } from '../../meta/ship';
import { Feature, Map as MapOl } from 'ol';
import { Style } from 'ol/style';
type ShipType = 'ship' | 'triangle';
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
export declare const styleCache: Map<string, Style>;
export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style | undefined;
export declare const getShipType: (mapInstance: MapOl) => ShipType;
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
/**
 * 生成船只元素
 * @param shipData
 */
export declare const selectedStyleCache: Map<string, Style>;
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Style | undefined;
export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
export declare function getRandomLineDirection(): LineDirection;
type LineDirection = 'left-top' | 'left-middle' | 'left-bottom' | 'right-top' | 'right-middle' | 'right-bottom';
export declare const createLabelFeatureStyle: (feature: Feature, lenNum: number) => Style;
export {};
