/** * Single source of truth for the CLI's Node-version policy. * * Lobu's SDK sandbox (query_sdk / run_sdk) uses isolated-vm, whose native addon * is tied to each Node line's V8 ABI: isolated-vm@6 covers Node 22–24, the * aliased isolated-vm@7 covers Node 26+. Node 25 is an EOL non-LTS line upstream * skipped, so it boots but has no sandbox build. Below 22 nothing works — the * bundled server's deps (undici via @sentry/node) reference globals absent on * old Node and crash on load. * * The `bin/lobu.js` entrypoint carries an inline copy of the MIN threshold * because it must run with zero imports (before the bundle loads); keep it and * packages/server/src/utils/assert-node-version.ts in sync with this file. */ export declare const MIN_NODE_MAJOR = 22; /** True when isolated-vm has a build for this Node major (sandbox works). */ export declare function sandboxAvailableForNode(major: number): boolean; type NodeSupport = { ok: true; sandbox: boolean; } | { ok: false; reason: string; why: string; }; /** Classify the running Node against Lobu's support policy. */ export declare function checkNodeSupport(): NodeSupport; export {}; //# sourceMappingURL=node-version.d.ts.map