/** * Capture the directory of the first user-code frame on the current call stack. * * Returns `undefined` when no user frame can be determined (e.g. an exotic * loader strips stack frames, or the runtime has no V8-style stack) — callers * fall back to `process.cwd()`. * * @param skipBasenames - Additional file basenames to skip (e.g. the caller's * own decorator file `front-mcp.decorator.ts` / `.js`), so the FIRST returned * frame is the user's module, not the framework's wrapper. Matched by * basename only (POSIX + Windows), so `foo.decorator.spec.ts` is NOT skipped * when `foo.decorator.ts` is. */ export declare function captureCallerDir(skipBasenames?: readonly string[]): string | undefined; //# sourceMappingURL=caller-dir.utils.d.ts.map