/** * @file `jreFromVfs()` — extracts the JRE directory tree from the smol binary's * VFS and returns the resolved-shape pointing into the extracted directory. * Uses the post-alignment `getSmolVfs()` API (matches upstream `node:vfs`). * Returns `undefined` when: * * - Not running on a smol binary with the aligned binding * - The binary has no SEA payload (`getSmolVfs() === undefined`) * - The `jre` key doesn't exist in the payload */ import type { ResolvedJre } from './types.js'; /** * Relative VFS key for the bundled JRE. Passed as a bare suffix to * `vfs.extract()` — the binding handles prefix concatenation. */ export declare const JRE_VFS_KEY = "jre"; export declare function jreFromVfs(): Promise;