import type { DojoLoaderConfig, DojoLoaderScope, LoaderConfigInput, ReferenceModule } from "./types.ts"; /** Features baked into the client-side has cache. */ export declare const DEFAULT_RUNTIME_FEATURES: Record; /** * Resolves the `loaderConfig` plugin option into a plain config object. * Accepts an object, a function of `environment`, or the id of a module exporting either. */ export declare function resolveLoaderConfig(loaderConfig: LoaderConfigInput, context: string, environment?: Record): DojoLoaderConfig; /** * Boots dojo.js inside a vm and returns the loader scope. `scope.require` provides * `toAbsMid`/`toUrl`, and `scope.require.rawConfig` the post-processed config. */ export declare function createLoaderScope(config: DojoLoaderConfig, context: string): DojoLoaderScope; /** * Reference module for resolving a mid relative to a directory rather than a module. */ export declare function referenceFor(dir: string): ReferenceModule;