import Overlay from "../Overlay";
import { T_Position } from "../../common/type";
/**
 * 流动线图元
 * @noInheritDoc
 * @example
 * ```ts
 * let flowLinePrimitive = new BC.FlowLinePrimitive('120,20;120,30;122,30')
 * ```
 */
declare class FlowLinePrimitive extends Overlay {
    private _positions;
    private _width;
    /**
     *
     * @param positions 坐标串
     * @param width 宽度
     */
    constructor(positions: T_Position[], width?: number);
    get type(): any;
    set positions(positions: T_Position[]);
    get positions(): T_Position[];
    /**
     *
     * @private
     */
    _setAppearance(): void;
    _mountedHook(): void;
    /**
     *
     * @param text
     * @param textStyle
     */
    setLabel(text: string, textStyle: any): this;
    /**
     * 设置风格
     * @param style
     * @example
     * ```json
     * // 样式参数(可选)
     * {
     *   "speed": 5, //速度
     *   "color": BC.Color.WHITE, //颜色
     *   "percent": 0.3, // 比例
     *   "gradient": 0.1 // 透明程度
     * }
     * ```
     */
    setStyle(style?: any): this;
}
export default FlowLinePrimitive;
