import { ServiceKey } from '@microsoft/sp-core-library'; /** * Deferred wrapper for SPRequestRateMonitor that lazy-loads the implementation * as a separate webpack chunk. * * @internal */ export declare class SPRequestRateMonitor { /** * The service key for SPRequestRateMonitor. */ static readonly serviceKey: ServiceKey; private static _pausedInstances; private static _monitor; /** * Starts a fixed 1-second tracking window for the given manifest ID. After * 1 second the collected call count is evaluated; if it exceeds the threshold * the result is written to localStorage and the entry is cleared. * * @param manifestId - The component manifest ID (GUID) to track * @param instanceId - The component instance ID to track */ static startTrackingWindow(manifestId: string, instanceId: string): void; private static _getMonitor; /** * Tracks a request URL for the given web part. If the web part exceeds the * configured call rate, a record is written to localStorage. * * @param url - The request URL * @param logSourceId - The log source ID identifying the web part (e.g. "WebPart.alias") */ trackRequest(url: string, logSourceId: string): void; } //# sourceMappingURL=SPRequestRateMonitor.d.ts.map