/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { IThrottlerResponse, IThrottlerHelper } from "@fluidframework/server-services-core"; /** * Super simple Token Bucket IThrottlerHelper implementation for use in tests. * @internal */ export declare class TestThrottlerHelper implements IThrottlerHelper { /** * Number of operations allowed per ms. */ private readonly opsPerMs; private readonly throttleStorage; constructor( /** * Number of operations allowed per ms. */ opsPerMs: number); updateCount(id: string, count: number): Promise; getThrottleStatus(id: string): Promise; private getThrottlerResponseFromThrottlingMetrics; } //# sourceMappingURL=testThrottlerHelper.d.ts.map