// Shim for scripts/ui/imagePreview.ts export const calculateImageGrid = window.comfyAPI.imagePreview.calculateImageGrid; export const createImageHost = window.comfyAPI.imagePreview.createImageHost;