import type { AdpTelemetryData, AdpTelemetryTimerProperties } from '../types.js'; /** * Telemetry collector for ADP generator. Tracks telemetry data throughout the generation process. */ export declare class TelemetryCollector { /** * Map of timing mark names. */ private readonly timingMarkNames; /** * Telemetry data. */ private readonly data; /** * Gets the telemetry data. * * @returns {AdpTelemetryData} The telemetry data. */ get telemetryData(): AdpTelemetryData; /** * Sets a batch of telemetry data. * * @param {Partial} data - The data to set. */ setBatch(data: Partial): void; /** * Starts timing for a specific timer property. Call endTiming with the same key to record the duration. * * @param {keyof AdpTelemetryTimerProperties} key - The timer property name that will store the duration (e.g., 'applicationListLoadingTime'). */ startTiming(key: keyof AdpTelemetryTimerProperties): void; /** * Ends timing for a specific timer property and sets the duration in the telemetry data in milliseconds. * * @param {keyof AdpTelemetryTimerProperties} key - The timer property name where the duration should be stored (must match the key used in startTiming). */ endTiming(key: keyof AdpTelemetryTimerProperties): void; } //# sourceMappingURL=collector.d.ts.map