/** * The thirteen `velar/*` modules the Web framework publishes, and the source * each one ships to the browser. * * D115 §一.4 / D114 R2c: the JavaScript itself is real source under * `packages/web/runtime/`, where a JavaScript parser reads it and a test can * run one module of it on its own. This table is the specifier-to-body map and * nothing else — the shared guards, host ABIs and error normalization a module * opens with are parts of its constant in `runtime/manifest.json`, so a body is * written once however many modules carry it. */ export declare const webModuleSources: ReadonlyMap; export interface VelarWebRuntimeConfig { readonly base: string; readonly publicConfig?: Readonly>; } /** * Two of those modules close over a value the project decides: the base path * `velar/web` resolves routes against, and the manifest's own `publicConfig`. * Both are written into the runtime source as a placeholder string and replaced * here, so the `.js` file stays a file a parser can read rather than a template * with a hole in it. */ export declare function webModuleSource(source: string, web?: VelarWebRuntimeConfig): string | null; //# sourceMappingURL=runtime.d.ts.map