/** * Copyright (c) Microsoft Corporation. All rights reserved. */ import { ServiceKey, type ServiceScope } from '@microsoft/sp-core-library'; import type { ICacheDataProvider } from './ICacheDataProvider'; /** * The interface for the cache key * * @internal */ export interface ICacheKey { /** * The key to access the cache */ key: string; } /** * The CacheDataProviderService used for injecting CacheDataprovider singelton to SPHttpClient * * @internal */ export declare class CacheDataProviderService { static serviceKey: ServiceKey>; private _cacheDataProvider; /** * Initializes a new instance of the CacheDataProviderService class. * @param serviceScope - The service scope. */ constructor(serviceScope: ServiceScope); /** * Gets or sets the cache data provider * * @internal */ get _provider(): ICacheDataProvider; set _provider(provider: ICacheDataProvider); } /** * Gets the service key. * * @internal */ export declare function getCacheDataProviderServiceKey(): ServiceKey>; //# sourceMappingURL=CacheDataProviderService.d.ts.map