import { type ServiceScope } from '@microsoft/sp-core-library'; import type { IClientSideComponentManifest } from '@microsoft/sp-module-interfaces'; /** * Structured details attached to a failed `GetClientSideComponents` fetch error * (see `ManifestProvider.fetchManifests`) so callers can classify it without * parsing the message string — e.g. detect an anonymous-auth denial via * `httpStatus === 403` + the SPO `x-msdavext_error` header. * * @internal */ export interface IManifestFetchErrorDetails { /** HTTP status of the failed `GetClientSideComponents` response. */ httpStatus?: number; /** SPO `x-msdavext_error` response header (e.g. `917656; Access denied…`). */ xMsdavextError?: string; } /** * Data provider for manifest fetching with the server. */ export declare class ManifestProvider { private static _logSource; private _httpClient; private _pageContext; private readonly _buildNumber; private readonly _webAbsoluteUrl; constructor(serviceScope: ServiceScope, webAbsoluteUrl: string, buildNumber: string); /** * Make a server request to fetch a collection of component manifests. * * @param requests - Array of manifests to fetch from the server * * @returns A promise resolving to an array of component manifests */ fetchManifests(requests: { id: string; version?: string; }[]): Promise; } //# sourceMappingURL=ManifestProvider.d.ts.map