/** * True in the command line's bundle, false in the page's. Defined by both * vite configs, so it is a constant the bundler folds away rather than a * runtime test — the browser build must not carry node's h5wasm, nor the * command line the browser's (src/cache/h5file.ts). */ declare const __NODE_BUILD__: boolean; /** The commit this was built from, or 'dev'. Defined by both vite configs. */ declare const __BUILD_ID__: string; /** Vite's `?raw` suffix imports a file's text. Used to load .m model sources. */ declare module '*?raw' { const source: string; export default source; } /** Vite's `import.meta.glob`, used to load every .m in tools/ at once * (src/tools.ts). Only the eager + `?raw` form this project uses is * declared — it returns each match's text, keyed by path. */ interface ImportMeta { glob( pattern: string, options: { query: '?raw'; eager: true; import: 'default' }, ): Record; }