export interface BundleResult { /** Absolute, REALPATH'd path to the bundled entry file — this and {@link bundleDir} are what the caller grants `--allow-fs-read` to. macOS's `/tmp` is a symlink to `/private/tmp`; an un-canonicalized path here would silently fail to match Node's own (already-canonicalized) permission check. */ bundlePath: string; /** Absolute, REALPATH'd directory containing {@link bundlePath} — remove with `rmSync(bundleDir, { recursive: true, force: true })` once done. */ bundleDir: string; /** Directories the child ALSO needs `--allow-fs-read` for — the resolved locations of {@link EXTERNAL_PACKAGES}, which are deliberately left unbundled (see {@link externalTrustedPackagesPlugin}'s doc). Empty when none of those packages were actually imported. */ externalReadPaths: string[]; /** Wall-clock bundling time — chant#1045 asks this be measured and reported, not silently accepted. */ durationMs: number; /** Bundle size in bytes. */ bytes: number; } /** * Bundle `driverSource` (see {@link import("./driver.js").generateDriverSource}) * into a single self-contained ESM file. */ export declare function bundleDriver(driverSource: string): Promise; //# sourceMappingURL=bundle.d.ts.map