/** * Copyright Microsoft Corporation. All rights reserved. */ import { ServiceKey, type ServiceScope } from '@microsoft/sp-core-library'; import type IDigestCache from './IDigestCache'; /** * {@inheritDoc IDigestCache} * * @public */ export default class DigestCache implements IDigestCache { /** * The service key for IDigestCache. */ static readonly serviceKey: ServiceKey; private static REST_EXPIRATION_SLOP_MS; private static _logSource; private _fetchProvider; private _timeProvider; private _digestsByUrl; constructor(serviceScope: ServiceScope); /** * {@inheritDoc IDigestCache.fetchDigest} */ fetchDigest(webUrl: string): Promise; /** * {@inheritDoc IDigestCache.addDigestToCache} */ addDigestToCache(webUrl: string, digestValue: string, expirationTimestamp: number): void; /** * {@inheritDoc IDigestCache.clearDigest} */ clearDigest(webUrl: string): boolean; /** * {@inheritDoc IDigestCache.clearAllDigests} */ clearAllDigests(): void; } //# sourceMappingURL=DigestCache.d.ts.map