import { default as Konva } from 'konva'; import { LineConfig } from 'konva/lib/shapes/Line'; export interface LastSectionDashLineConfig extends LineConfig { lastDashEnabled?: boolean; dash: number[]; } export declare class LastSectionDashLine extends Konva.Line { className: string; constructor(config: LastSectionDashLineConfig); get lastDashEnabled(): boolean; set lastDashEnabled(bool: boolean); /** * 内部渲染方法 * * @param {Konva.Context} context */ _sceneFunc(context: Konva.Context): void; }