/** * Standalone SVG raster helpers shared with host apps. * Uses the same normalization path as ImageLoader.createSvgCanvas. */ export { computeViewBoxDelta, fitViewBoxToVisibleContent } from './svgViewBox.js'; export declare function patchSvgPreserveAspectRatioNone(svgSource: string): string; /** Prepare an SVG for an ephemeral pixel raster without changing its viewBox. */ export declare function prepareSvgForRasterPixels(svgSource: string, targetWidth: number, targetHeight: number): string; export declare function normalizeSvgForDistarkRaster(svgSource: string, targetWidth: number, targetHeight: number): string; export type DistarkRasterizeResult = { canvas: HTMLCanvasElement; fillSource: string; normalizedSource: string; }; /** * Rasterize SVG using the same drawImage path as ImageLoader.createSvgCanvas. */ export declare function rasterizeSvgLikeDistark(svgSource: string, targetWidth: number, targetHeight: number): Promise; //# sourceMappingURL=svgRaster.d.ts.map