/** * @overload * @param {ReadNowPowers} readPowers * @param {string} moduleLocation * @param {SyncLoadLocationOptions} options * @returns {Promise} */ export function loadLocation(readPowers: ReadNowPowers, moduleLocation: string, options: SyncLoadLocationOptions): Promise; /** * @overload * @param {ReadFn | ReadPowers} readPowers * @param {string} moduleLocation * @param {LoadLocationOptions} [options] * @returns {Promise} */ export function loadLocation(readPowers: ReadFn | ReadPowers, moduleLocation: string, options?: LoadLocationOptions | undefined): Promise; /** * Allows dynamic requires * * @overload * @param {ReadNowPowers} readPowers * @param {string} moduleLocation * @param {SyncImportLocationOptions} options * @returns {Promise} the object of the imported modules exported * names. */ export function importLocation(readPowers: ReadNowPowers, moduleLocation: string, options: SyncImportLocationOptions): Promise; /** * Disallows dynamic requires * * @overload * @param {ReadPowers|ReadFn} readPowers * @param {string} moduleLocation * @param {ImportLocationOptions} [options] * @returns {Promise} the object of the imported modules exported * names. */ export function importLocation(readPowers: ReadPowers | ReadFn, moduleLocation: string, options?: ImportLocationOptions | undefined): Promise; import type { ReadNowPowers } from './types.js'; import type { SyncLoadLocationOptions } from './types.js'; import type { Application } from './types.js'; import type { ReadFn } from './types.js'; import type { ReadPowers } from './types.js'; import type { LoadLocationOptions } from './types.js'; import type { SyncImportLocationOptions } from './types.js'; import type { SomeObject } from './types.js'; import type { ImportLocationOptions } from './types.js'; //# sourceMappingURL=import.d.ts.map