/** * Monitors the rate of SharePoint API requests per web part and records * an entry in localStorage when a web part exceeds the threshold. * * @internal */ export declare class DeferredSPRequestRateMonitor { private _callHistory; constructor(); /** * Tracks a request URL for the given web part. Records timestamps keyed by * logSourceId. Evaluation is deferred to {@link evaluateAndClear} which is * triggered after the tracking window ends. * * @param url - The request URL * @param logSourceId - The log source ID identifying the caller */ trackRequest(url: string, logSourceId: string): void; /** * Evaluates the recorded call count for the given ID against the threshold. * Writes to localStorage and emits telemetry if exceeded, then clears the entry. * * @param manifestId - The manifest ID used as the history key * @param instanceId - The instance ID used as the history key */ evaluateAndClear(manifestId: string, instanceId: string): void; private _recordRateLimitExceeded; } //# sourceMappingURL=DeferredSPRequestRateMonitor.d.ts.map