/** * Returns a boolean that defines if the current environment supports dynamic imports. */ export declare function supportsDynamicImport(): boolean; /** * Detects the environment and loads a module using either `require` or `import`. * @param mod - The name or path to the module to load. */ export declare function loadModule(mod: string | URL): Promise;