//#region src/preview/rendering/inlineImages.ts
/** Image cache for inlining external images as data URIs (foreignObject path) */
const _inlineImageCache = /* @__PURE__ */ new Map();
/**
* Clear the inline image cache. Useful for memory management in long-running sessions.
*/
function clearInlineImageCache() {
	_inlineImageCache.clear();
}
/**
* Get current inline image cache size for diagnostics.
*/
function getInlineImageCacheSize() {
	return _inlineImageCache.size;
}

//#endregion
export { clearInlineImageCache, getInlineImageCacheSize };
//# sourceMappingURL=inlineImages.js.map