import * as _$esbuild from "esbuild"; import { BuildOptions } from "esbuild"; //#region src/loadExternalFile/transpileTSToCJS.d.ts type TranspileOptions = BuildOptions & { /** * Optional custom esbuild instance to use for transpilation. * Useful in environments (e.g. VS Code extensions) where the bundled * esbuild binary may not match the host platform. * When provided, its `buildSync`/`build` methods are used instead of * the ones imported from the `esbuild` package. */ esbuildInstance?: typeof _$esbuild; }; declare const transpileTSToCJSSync: (code: string, filePath: string, options?: TranspileOptions) => string | undefined; declare const transpileTSToCJS: (code: string, filePath: string, options?: TranspileOptions) => Promise; //#endregion export { TranspileOptions, transpileTSToCJS, transpileTSToCJSSync }; //# sourceMappingURL=transpileTSToCJS.d.ts.map