/** * Which `velar/*` surfaces `@velarscript/node` publishes, and what follows from * that roster when a program that imports one is built for another target. * * D115 P4 R4a: the roster is the subject of every rule in this file — a module * is Node's because it is in it, a module is Node-*only* because it is in it * and not shared with the Web — so the ordered entries live here and * `compiler.ts` assembles `nodeModuleInterfaces` from them. Each entry is built * by the `modules/.ts` file that owns that surface's tables. */ import type { ModuleInterface } from "@velarscript/compiler"; /** The `nodeModuleInterfaces` entries, in the order that map declares them. */ export declare const nodeModuleEntries: readonly (readonly [string, ModuleInterface])[]; export declare function isNodeModule(source: string): boolean; export declare function isNodeOnlyModule(source: string): boolean; export declare function nodeModuleDiagnostic(source: string): string; //# sourceMappingURL=module-policy.d.ts.map