import { CommandModule } from 'yargs'; import { NevermoreGlobalArgs } from '../../args/global-args.js'; interface StripSourcemapJestArgs extends NevermoreGlobalArgs { sourcemap?: string; } /** * Temporary workaround: strip shadowing modules from Jest subtrees in sourcemap.json. * * luau-lsp's require-by-name resolution picks the first file matching a name * in the sourcemap. Jest vendors internal copies of modules (Promise, string, * symbol, etc.) that shadow Nevermore packages. The real loader handles this * correctly, but luau-lsp doesn't yet. * * We drop only the Jest descendants whose name also exists elsewhere in the * sourcemap (the shadowing copies), and keep the Jest-unique modules (Jest, * JestGlobals, ...) so `require("Jest")` still resolves. * * Long-term fix: smarter require resolution in luau-lsp (plugins or fork). */ export declare const stripSourcemapJestCommand: CommandModule; export {}; //# sourceMappingURL=strip-sourcemap-jest-command.d.ts.map