/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { IThrottler } from "@fluidframework/server-services-core"; /** * Throttles if an id's count exceeds limit. Exposes tracked `throttleCounts` for easy assertions. * @internal */ export declare class TestThrottler implements IThrottler { private readonly limit?; readonly throttleCounts: Map; constructor(limit?: number | undefined); incrementCount(id: string, weight?: number): void; decrementCount(id: string, weight?: number): void; private checkThrottled; } //# sourceMappingURL=testThrottler.d.ts.map