import { type ServiceScope } from '@microsoft/sp-core-library'; import type { IFetchProvider } from './FetchProvider'; import type { IHttpClientOptions } from './HttpClient'; import type HttpClientConfiguration from './HttpClientConfiguration'; /** * Private - this class contains some internal code shared between HttpClient * and SPHttpClient. * * @internal */ export default class HttpClientHelper { private static _teamsJsP; private static _brokerClient; /** * Clones the original options and sets the method to the passed in method name. */ static overrideHttpMethod(options: IHttpClientOptions | undefined, httpRequestMethod: string): IHttpClientOptions; /** * All network requests are routed through this method, which calls the * underlying IFetchProvider.fetch(). */ static fetchCore(configuration: HttpClientConfiguration, request: Request, serviceScope: ServiceScope, fetchProvider: IFetchProvider, logSource: string): Promise; private static _fetchCoreImpl; private static _getRequiredClaims; private static _getTeamsAuthToken; private static _getBrokerClientChunk; private static _getTeamsSDK; } //# sourceMappingURL=HttpClientHelper.d.ts.map