/** * @file Private internals for `exe/*` modules — lazy `fs` / `path` accessors * and the binary-resolution caches. Underscore prefix keeps this file out of * the public exports map (see the `dist//_` ignore in * scripts/fleet/gen/package-exports.mts). Two caches: * * 1. `binPathCache` — maps a binary name to its first resolved path. Validated * with `existsSync` before reuse so a stale cache doesn't survive a tool * reinstall mid-session. * 2. `binPathAllCache` — same shape but stores all-match arrays for callers that * pass `{ all: true }`. Separate cache because the two return shapes can't * be reconciled without losing type info. * 3. `voltaBinCache` — maps a `${voltaPath}:${basename}` composite key to the * resolved Volta-managed binary path. Volta resolves npm / pnpm / yarn * through a layered tools/image directory and the lookup is expensive * enough that caching is worth the memory. */ export declare const binPathCache: Map; export declare const binPathAllCache: Map; export declare const voltaBinCache: Map; export { getNodeFs as getFs } from '../node/fs.js'; export { getNodePath as getPath } from '../node/path.js';