export declare function addNameSpaceXML(data: string): string;
/**
 * Adds a mask element to an SVG string. The mask is inserted immediately after the opening <svg> tag
 * and wraps the existing SVG content, ending before the closing </svg> tag.
 *
 * @param {string} svg - The SVG string to which the mask will be added. Must contain valid <svg> tags.
 * @param {string} maskId - The ID to assign to the <mask> element.
 * @returns {string} - The modified SVG string with the mask element added.
 */
export declare function addMask(svg: string, maskId: string): string;
export declare function encodeSVG(data: string): string;
//# sourceMappingURL=svg.d.ts.map