import WorkspaceElement from './WorkspaceElement';
import RectPeer from './peer/svg/RectPeer';
import StyleAttributes from './StyleAttributes';
import PositionType from './PositionType';
/**
 * Create a rectangle and variations of a rectangle shape.
 * arc must be specified to create rounded rectangles.
 * arc = "<length>"
 *     For rounded rectangles, radius of the ellipse used to round off the corners of the rectangle.
 */
declare class Rect extends WorkspaceElement<RectPeer> {
    constructor(arc: number, attributes?: StyleAttributes);
    getType(): string;
    getSize(): import("./SizeType").default;
    getPosition(): PositionType;
    setPosition(x: number, y: number): void;
}
export default Rect;
