import { ServiceKey, type ServiceScope } from '@microsoft/sp-core-library'; /** * This class is useful for getting configuration properties to the GraphHttpClient * @internal */ export default class GraphHttpClientContext { /** * The service key for GraphHttpClientContext. */ static readonly serviceKey: ServiceKey; private _webServerRelativeUrl; private _graphEndpointUrl; private _webAbsoluteUrl; private _isInitialized; constructor(serviceScope: ServiceScope); /** * The initialize function should be called before the application/components * have a chance to make a GraphHttpClient request. */ initialize(webServerRelativeUrl: string, graphEndpointUrl: string, webAbsoluteUrl: string): void; /** * Gets the Microsoft Graph endpoint for the current environment. This value is set by * the initialize function. If the value is not set, this function will throw. */ getGraphEndpointUrl(): string; /** * Gets the webServerRelative url of the current page. This value is set by * the initialize function. If the value is not set, this function will throw. */ getWebServerRelativeUrl(): string; /** * Gets the webAbsoluteUrl of the current page. This value is set by * the initialize function. If the value is not set, this function will throw. */ getWebAbsoluteUrl(): string; } //# sourceMappingURL=GraphHttpClientContext.d.ts.map