import WorkspaceElement from './WorkspaceElement';
import ElementPeer from './peer/svg/ElementPeer';
import PositionType from './PositionType';
interface Line {
    setFrom(x: number, y: number): void;
    setTo(x: number, y: number): void;
    setIsSrcControlPointCustom(value: boolean): void;
    setIsDestControlPointCustom(value: boolean): void;
    setCursor(value: string): void;
    setStroke(width: number, style?: string, color?: string, opacity?: number): void;
    setFill(color: string, opacity: number): void;
    setDashed(v: number, v2: number): void;
    setVisibility(value: boolean, fade?: number): void;
    isVisible(): boolean;
    setOpacity(value: number): void;
    moveToBack(): void;
    setTestId(value: string): void;
    setSrcControlPoint(value: PositionType): void;
    setDestControlPoint(value: PositionType): void;
    isDestControlPointCustom(): boolean;
    isSrcControlPointCustom(): boolean;
    getControlPoints(): [PositionType, PositionType];
    trigger(value: any, event: any): void;
    getTo(): PositionType;
    getFrom(): PositionType;
    moveToFront(): void;
    getType(): string;
    addEvent(value: any, listener: any): void;
    removeEvent(value: any, listener: any): void;
    getElementClass(): WorkspaceElement<ElementPeer>;
}
export default Line;
