/** * Fetches script text; `null` signals a `script`-tag fallback. * @param {string} url * @returns {Promise} */ export declare function fetchScriptText(url: string): Promise; /** * Loads an extension script into a context, falling back to the engine's loader when the fetch fails. * @param {import('hydra-context').HydraContext} context * @param {any} hydra * @param {string} url * @returns {Promise} */ export declare function loadScriptInto(context: import('hydra-context').HydraContext, hydra: any, url: string): Promise;