import { type FileSystem } from "../../../platform/compat/fs.js"; export declare function ensurePlainCacheDirectory(fs: FileSystem, path: string): Promise; /** * Declare the mirrored npm ESM tree as a package scope before Node imports it. * * The packed runtime mirrors `veryfront/esm/*.js` into the per-project cache. * Node 22.3 does not infer ESM syntax for those generated JavaScript files, so * the mirror needs the same `type: module` boundary as the published package. * Project transforms use `.mjs`, leaving the cache root available for project * paths such as a relative `package.json` import. */ export declare function ensureCachedVeryfrontEsmPackageScope(fs: FileSystem, tmpDir: string): Promise; //# sourceMappingURL=esm-package-scope.d.ts.map