import { SandBoxContextOptions } from "./parseFileContent.js"; import { TranspileOptions } from "./transpileTSToCJS.js"; import { IntlayerConfig } from "@intlayer/types/config"; //#region src/loadExternalFile/loadExternalFile.d.ts type LoadExternalFileOptions = { configuration?: IntlayerConfig; buildOptions?: TranspileOptions; logError?: boolean; } & SandBoxContextOptions; /** * Load the content declaration from the given path * * Accepts JSON, JS, MJS and TS files as configuration */ declare const loadExternalFileSync: (filePath: string, options?: LoadExternalFileOptions) => any | undefined; /** * Load the content declaration from the given path * * Accepts JSON, JS, MJS and TS files as configuration */ declare const loadExternalFile: (filePath: string, options?: LoadExternalFileOptions) => Promise; //#endregion export { LoadExternalFileOptions, loadExternalFile, loadExternalFileSync }; //# sourceMappingURL=loadExternalFile.d.ts.map