import type { InteractiveProbeRecord } from './schema'; import type { ProbePagePayload } from './payload'; /** The browser and version a user agent string names, best effort. */ export declare function browserFromUserAgent(userAgent: string): { name: string, version: string }; /** Combine the page's observations with the runner's host facts into a record. */ export declare function buildProbeRecord(payload: ProbePagePayload, facts: ProbeHostFacts): InteractiveProbeRecord; /** Fewer trusted input events than this is reported, not summarised. */ export declare const MIN_INPUT_SAMPLES: 5; /** What the runner knows about the host that the page cannot see. */ export declare interface ProbeHostFacts { measuredAt: string host: { kind: 'craft' | 'browser', name: string, version: string } os: InteractiveProbeRecord['os'] machine: { model: string cpu: string display: { name: string, resolution: string, refreshHz: number | null } } }