/** * Re-emits the SVG with explicit `width`/`height` attributes set to the * sanitized size, so the `` rasterization renders it at a reliable * intrinsic size across browsers. The whole document is serialized, so * comments outside the root element survive. */ export declare function ensureSize(svg: string, size?: number): { svg: string; size: number; }; /** * Brings the `mask-type` presentation attribute in line with a `style` * declaration of the same property, for callers that drive a rasterizer * reading only the attribute. Same contract as the node implementation in * `svg.ts`, where the precedence rules are documented: input that needs no * change, including input the parser rejects, comes back verbatim. */ export declare function normalizeMaskType(svg: string): string;