import type { UserConfig } from './UserConfig.type.js'; import type { LoadOptions } from './LoadOptions.type.js'; import type { Exports } from './Exports.type.js'; import { ExportCache } from './ExportCache.js'; export type ModuleImport = (file: string) => Promise; export type ModuleDynamicImport = (file: string) => Promise; export declare function createLoad(locationUrl: string, userConfig?: UserConfig | null): Promise<{ >(files: I, userOptions?: LoadOptions): Promise ? Record : (I extends string[] ? Exports[] : Exports)>; cache: ExportCache; exportCache: ExportCache; }>; export type Load = Awaited>; export { type Exports };