import WorkspaceElement from './WorkspaceElement';
import Line from './Line';
import StraightLinePeer from './peer/svg/StraightPeer';
import PositionType from './PositionType';
import StyleAttributes from './StyleAttributes';
declare class StraightLine extends WorkspaceElement<StraightLinePeer> implements Line {
    constructor(attributes?: StyleAttributes);
    getElementClass(): StraightLine;
    setIsSrcControlPointCustom(value: boolean): void;
    setIsDestControlPointCustom(value: boolean): void;
    setDashed(v: number, v2: number): void;
    setSrcControlPoint(value: PositionType): void;
    setDestControlPoint(value: PositionType): void;
    isDestControlPointCustom(): boolean;
    isSrcControlPointCustom(): boolean;
    getControlPoints(): [PositionType, PositionType];
    getType(): string;
    setFrom(x: number, y: number): void;
    setTo(x: number, y: number): void;
    getFrom(): PositionType;
    getTo(): PositionType;
    setPosition(): void;
    setSize(x: number, y: number): void;
    setFill(color: string, opacity: number): void;
}
export default StraightLine;
