export type BundleFile = { path: string; contents: string | Uint8Array | ArrayBuffer; contentType?: string; }; type Props = { files: BundleFile[]; className?: string; sandbox?: string; title?: string; }; /** * ViteBundleIframe * Renders a bundled Vite build (provided as {path, contents}[]) inside an iframe. * No server routes required. Works by: * - generating blob: URLs for all files * - building an import map for ESM + dynamic chunks * - rewriting index.html + CSS + JS to point at the blob URLs * - setting iframe.srcdoc to the rewritten index */ export declare function BundleRenderer({ files, className, sandbox, title, }: Props): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=bundle-renderer.d.mts.map