/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { IThrottlingMetrics, IThrottleAndUsageStorageManager, IUsageData } from "@fluidframework/server-services-core"; /** * In-memory cache implementation of IThrottleManager for testing * @internal */ export declare class TestThrottleAndUsageStorageManager implements IThrottleAndUsageStorageManager { private readonly throttlingCache; private readonly usageCache; setThrottlingMetric(id: string, throttleMetric: IThrottlingMetrics): Promise; getThrottlingMetric(id: string): Promise; setThrottlingMetricAndUsageData(id: string, throttleMetric: IThrottlingMetrics, usageStorageId: string, usageData: IUsageData): Promise; setUsageData(id: string, usageData: IUsageData): Promise; getUsageData(id: string): Promise; } //# sourceMappingURL=testThrottleAndUsageStorageManager.d.ts.map