/** * Loads Bundle Assets. * * @ignore */ export class BundleHandler extends ResourceHandler { /** * Create a new BundleHandler instance. * * @param {AppBase} app - The running {@link AppBase}. */ constructor(app: AppBase); _assets: import("../asset/asset-registry.js").AssetRegistry; /** * Fetch the bundle, retrying {@link ResourceHandler#maxRetries} times on a network error. Only * a rejected fetch is retried: an HTTP error status resolves instead, and is failed by the * caller rather than retried. * * @param {string} url - The URL to fetch. * @param {object} options - The fetch options. * @returns {Promise} The response. * @private */ private _fetchRetries; load(url: any, callback: any): void; /** * Open the bundle. * * @param {string} url - The URL of the resource to open. * @param {Bundle} bundle - Bundle to open. * @returns {Bundle} The bundle. */ open(url: string, bundle: Bundle): Bundle; } import { ResourceHandler } from './handler.js'; import { Bundle } from '../bundle/bundle.js'; import type { AppBase } from '../app-base.js';