/** * The engine resolves every import through a path alias. The same set has to appear in three * places — tsconfig paths, the browser import map, and vite's resolve.alias — so it is defined * once here and rendered into each form. Hand-maintaining three copies is the most likely way a * scaffolded project silently stops compiling. */ export interface AliasRoot { /** Alias prefix as written in imports, without a trailing slash. */ name: string; /** Directory the alias resolves to in the project, relative to the project root. */ sourceDir: string; } export declare const ALIASES: AliasRoot[]; /** * Where one named alias resolves to in the project. Callers that need a specific alias's * directory (the scaffolder and its tests) go through this rather than repeating the lookup and * its not-found guard, so the "no such alias" message stays in one place. */ export declare function aliasSourceDir(name: string): string; /** tsconfig `paths`, resolved against a baseUrl of ".". */ export declare function tsconfigPaths(): Record; /** * Import-map and vite targets. tsc runs with rootDir "." so it mirrors the source tree into * dist/, meaning engine/engine/X.ts emits to dist/engine/engine/X.js. */ export declare function importMapEntries(): Record; export declare function viteAliasEntries(): Record;