/** * Shared path helpers for codegen. Extracted so the extends-walk (`astResolve`), * the model probe (`astModel`), and the emitter (`emit`) don't each carry their * own copy of the same path math (they had drifted). */ /** A TS-style relative specifier from `fromDir` to `toFile` (forward slashes). */ export declare function relativeImport(fromDir: string, toFile: string): string; /** Probe `.ts` / `.js` / `index.*` for a relative specifier; `null` if none exist. */ export declare function resolveRelativeFile(fromDir: string, spec: string): string | null;