import type { API } from "tsrs/async"; import type { TsRuntime } from "./runtime.ts"; /** Preserve CommonJS source scope while compiling literal relative TypeScript dependencies. */ export declare function relocateCommonJsModule(api: API, runtime: TsRuntime, path: string, source: string, resolveRequire: (specifier: string) => Promise): Promise;