/** * Fetches the remote manifest. * Caches the request so the network is only hit once per session. * @returns {Promise} The remote manifest (keyed by remote name). */ export function getManifest(): Promise; /** * Invalidates the cached manifest and returns a fresh one. * * @param {Object} [options] * @param {boolean} [options.bust] When true and the CDN path is active, append * a `?t=` query string to bypass any CloudFront edge cache. * @returns {Promise} A promise that resolves to the new manifest. */ export function refreshManifest({ bust }?: { bust?: boolean; }): Promise; /** * Looks up `key` in the cached manifest; if missing, fetches the backend * manifest once and merges any entries that aren't already present (covers * MFEs still on the legacy non-CI deploy path that only Mongo knows about). * * Returns the (possibly updated) cached manifest. Concurrent calls share * a single in-flight backend fetch. * * @param {string} key * @returns {Promise} */ export function fillFromBackend(key: string): Promise;