/** * Converts Roblox instance paths from Jest-lua output back to * repo-relative local filesystem paths. * * Two strategies: * * 1. **Sourcemap** (preferred) — Uses the authoritative `sourcemap.json` * mapping from `rojo sourcemap --absolute`. Exact and handles all * project layouts. * * 2. **Heuristic** (fallback) — Assumes `src/{slug}/src/` layout and * hard-codes `.spec`/`.story` as known dotted suffixes. Works when no * sourcemap is available. */ import type { SourcemapResolver } from '../../sourcemap/index.js'; /** * Resolve a Roblox instance path (from Jest-lua or a stack trace) to a * repo-relative filesystem path. * * When a `sourcemapResolver` is provided, it is tried first. Falls back to * the heuristic if the resolver doesn't have a mapping. */ export declare function resolveRobloxTestPath(instancePath: string, sourcemapResolver?: SourcemapResolver): string; //# sourceMappingURL=roblox-path-resolver.d.ts.map