import { DockingpointSvgLine } from '../../../interface/Planner/DockingPointDataType';
import { Vector2 } from '../../../model/Planner/wcVectors';
export default class SVGUtils {
    constructor();
    /**
     * This function removes all VIF and OLF information from the SVG. This is used for displaying only the OLT information
     * @param content The svg with OLF and OLT
     * @returns SVG with only OLT information
     */
    removeOLFFromSvg(content: string): string;
    /**
     * This function returns the DPs of an svg
     * @param content The svg with OLF and OLT
     * @returns SVG with only OLT information
     */
    getDPsInSVG(content: string): DockingpointSvgLine[];
    /**
     * This function returns the DPs of an svg
     * @param content The svg with OLF and OLT
     * @returns SVG with only OLT information
     */
    getPointOfPoligonById(content: string, id: string): Vector2[] | undefined;
    getBoundingBoxOfPoints(points: Vector2[]): {
        width: number;
        height: number;
        minX: number;
        minY: number;
    };
    /**
     * Returns OLF geometry (minX, minY, width, height) from SVG - supports rect and polygon.
     * Iterates through matches to find first rect/polygon (handles Illustrator group wrappers).
     */
    getOLFGeometryFromSvg(content: string): {
        minX: number;
        minY: number;
        width: number;
        height: number;
    } | undefined;
    /**
     * Returns OLT geometry (x, y, width, height) from SVG attributes - untransformed coords.
     * Iterates through matches to find first rect/polygon (handles Illustrator group wrappers).
     */
    getOLTGeometryFromSvg(content: string): {
        x: number;
        y: number;
        width: number;
        height: number;
    } | undefined;
    /**
     * This function looks if the svg has a Mask HTML element. If so it removes all masks from SVG
     * @param content
     */
    removeMaskFromSvg(content: string): string;
    ccCheckStretchAreas(content: string, newWidthCM: number, newHeightCM: number, useglobalSvgScale: boolean, svgMinBorderXVal: number, svgMinBorderYVal: number, callback: any, svgSourceUrl?: string): {
        heightOLF: any;
        widthOLF: any;
        heightOLT: any;
        widthOLT: any;
    };
}
//# sourceMappingURL=SVGUtils.d.ts.map