import type { createJiti } from "jiti"; type CreateJiti = typeof createJiti; type JitiTransform = NonNullable[1]>["transform"]>; /** * jiti tries a `./x.js` import of `x.ts` against every resolution condition, * base URL, and extension before its `.js` -> `.ts` fallback, and each miss * throws. Naming the TypeScript source that fallback would select resolves it * on the first probe. */ export declare function typeScriptSourceSpecifier(specifier: string, importer: string): string | undefined; /** * A jiti `transform` that runs jiti's own Babel transform plus the specifier * rewrite. Use it with jiti's `fsCache: false`: jiti keys its cache on the * importer source alone, while a rewrite also depends on which siblings exist. */ export declare function createTypeScriptSourceSpecifierTransform(createJitiImpl: CreateJiti, id: string, cacheDir: () => string | undefined): JitiTransform; export {}; //# sourceMappingURL=ts-source-specifiers.d.ts.map