import type { AbstractModule, Agent, Module } from "@isolated-vm/experimental"; type LoaderAsync = (path: string, attributes?: Module.ImportAttributes) => Promise; type LoaderSync = (path: string, attributes?: Module.ImportAttributes) => Type; type AnyLoader = LoaderAsync | LoaderSync; type ResolverSync = (specifier: string, referrer?: string, attributes?: Module.ImportAttributes) => Type; type ResolverAsync = (specifier: string, referrer?: string, attributes?: Module.ImportAttributes) => Promise; type AnyResolver = ResolverAsync | ResolverSync; export declare function makeCompositeLinker(...linkers: Module.Linker[]): Module.Linker; export declare function makeLinker(resolver: AnyResolver, loader: AnyLoader): Module.Linker; export declare function makeNullLinker(): Module.Linker; export declare function makeDirectResolver(): ResolverSync; export declare function makeLocalResolver(meta: ImportMeta): ResolverSync; export declare function makeCachedLoader(loader: LoaderAsync): LoaderAsync; export declare function makeFileSystemCompilationLoader(agent: Agent): LoaderAsync; export declare function makeStaticLoader(pathsToModules: Record): LoaderSync; export {}; //# sourceMappingURL=linker.d.ts.map