import { FormInteractionAnalytics } from './interactionAnalytics.cjs'; import './telemetry.cjs'; import './analytics-B1eUnjBp.cjs'; import './lifecycle.cjs'; import './i18n/keys.cjs'; interface RateComparison { readonly before: number; readonly after: number; readonly deltaPercentagePoints: number; } interface DurationComparison { readonly before?: number; readonly after?: number; readonly deltaMs?: number; } interface CountComparison { readonly before: number; readonly after: number; readonly delta: number; } interface FunnelInteractionComparison { readonly startRate: RateComparison; readonly submissionRateFromView: RateComparison; readonly submissionRateFromStart: RateComparison; readonly abandonmentRate: RateComparison; readonly submitFailureRate: RateComparison; } interface PageInteractionComparison { readonly pageId: string; readonly status: "matched" | "added" | "removed"; readonly completionRate?: RateComparison; readonly averageCompletionMs?: DurationComparison; readonly viewedCount?: CountComparison; readonly completedCount?: CountComparison; } interface FieldInteractionComparison { readonly fieldId: string; readonly status: "matched" | "added" | "removed"; readonly focusRate?: RateComparison; readonly completionRate?: RateComparison; readonly validationFailureRate?: RateComparison; readonly averageCompletionMs?: DurationComparison; readonly presentedCount?: CountComparison; readonly focusedCount?: CountComparison; readonly completedCount?: CountComparison; } interface InteractionAnalyticsComparison { readonly formId: string; readonly beforeVersion: number; readonly afterVersion: number; readonly funnel: FunnelInteractionComparison; readonly pages: readonly PageInteractionComparison[]; readonly fields: readonly FieldInteractionComparison[]; } declare function compareInteractionAnalytics(before: FormInteractionAnalytics, after: FormInteractionAnalytics): InteractionAnalyticsComparison; export { type CountComparison, type DurationComparison, type FieldInteractionComparison, type FunnelInteractionComparison, type InteractionAnalyticsComparison, type PageInteractionComparison, type RateComparison, compareInteractionAnalytics };