import { TccErrorListener } from "./index";
import { BuiltInVariables } from "../buildInVariables";
import { VLineStyle, VXloc } from "../enum";
import { IDrawComponent } from "../type";
import { IKeyObjectValue } from "../../../type";
export interface IPolyline {
    id?: string;
    points?: IKeyObjectValue;
    curved?: boolean;
    closed?: boolean;
    xloc?: VXloc;
    line_color?: string;
    fill_color?: string;
    line_style?: VLineStyle;
    line_width?: number;
}
type TPolylineArgs = Omit<IPolyline, 'id'> & {
    id: IDrawComponent;
};
export default class BuildInPolyline {
    private _variables;
    private _errorListener;
    private _defaultPolyline;
    constructor(variables: BuiltInVariables, errorListener: TccErrorListener);
    new(args: IPolyline, posStr: string): IDrawComponent;
    private _verfiyArgs;
    private _paramVerfiy;
    updateId(id: IDrawComponent): string;
    delete({ id }: TPolylineArgs): void;
}
export declare function createPolyline(key: string, data: IKeyObjectValue): IDrawComponent;
export {};
