import { Color } from '@nativescript/core'; import { MapBounds, MapPos, MapPosVector } from '../core'; import { LineGeometry } from '../geometry'; import { BaseVectorElementStyleBuilder } from './index.common'; import { BaseLineVectorElement } from './index.ios'; import { LineOptions, LineStyleBuilderOptions } from './line'; export { MapBounds }; export declare enum LineJointType { BEVEL = 2, MITER = 1, NONE = 0, ROUND = 3 } export declare enum LineEndType { ROUND = 2, SQUARE = 1, NONE = 0 } export declare class LineStyleBuilder extends BaseVectorElementStyleBuilder { createNative(options: LineStyleBuilderOptions): NTLineStyleBuilder; width: number; color: Color | string; joinType: LineJointType; endType: LineEndType; clickWidth: number; stretchFactor: number; mBuildStyle: NTLineStyle; buildStyle(): NTLineStyle; } export declare class Line extends BaseLineVectorElement { options: LineOptions; color: Color | string; width: number; joinType: LineJointType; endType: LineEndType; clickWidth: number; stretchFactor: number; constructor(options?: LineOptions, native?: NTLine); createNative(options: LineOptions): NTLine; buildStyle(): NTLineStyle; get styleBuilder(): LineStyleBuilder | NTLineStyle | LineStyleBuilderOptions; set styleBuilder(value: LineStyleBuilder | NTLineStyle | LineStyleBuilderOptions); setPoses(positions: MapPosVector | MapPos[]): void; getPoses(): MapPos[] | MapPosVector; set geometry(geometry: LineGeometry); getGeometry(): NTLineGeometry; getBounds(): MapBounds; }