export declare function createSvgElement(tag: string): SVGElement;
/**
 * 创建svg
 */
export declare function createSvg(w: string, h: string): SVGElement;
/**
 * 创建圆点
 * @param radius
 */
export declare function createCircle(radius: string | undefined, fill: string): SVGElement;
/**
 * 创建线
 * @param stroke
 */
export declare function createLine(stroke: string): SVGElement;
/**
 * 创建矩形
 * @param stroke
 * @returns
 */
export declare function createRect(stroke: string, fill: string): SVGElement;
export declare function setCirclePosition(circle: SVGElement, x: number, y: number): void;
type Position = {
    x: number;
    y: number;
};
export declare function setLineStartEnd(line: SVGElement, start?: Position, end?: Position): void;
export declare function setRectPosition(rect: SVGElement, x: number, y: number, w: number, h: number): void;
export {};
