import { type BeaconMetricData, BeaconMetricKey } from "../beacon"; import type { UserConfig } from "../config"; export interface Interaction { duration: number; interactionId: number | undefined; name: string; processingEnd: number; processingStart: number; processingTime: number; selector: string | null; startTime: number; target: Node | null; } export declare enum INPPhase { InputDelay = "ID", ProcessingTime = "PT", PresentationDelay = "PD" } export declare function reset(): void; export declare function processEntry(entry: PerformanceEventTiming): void; /** * Returns an estimated high percentile INP value based on the total number of interactions on the * current page. */ export declare function getHighPercentileInteraction(): Interaction | undefined; export declare function getData(config: UserConfig): BeaconMetricData[BeaconMetricKey.INP] | undefined; export declare function getINPPhase(script: PerformanceScriptTiming, interaction: Interaction): INPPhase;