import type { RuntimeState, WindowLike } from "../types.ts"; export declare function createEnhancedMeasurement({ windowRef, getState, dispatcher, }: { windowRef: WindowLike; getState: () => RuntimeState; dispatcher: { enqueueEvent: (name: string, params: Record) => void; flushNow?: (opts?: { useBeacon?: boolean; }) => unknown; }; }): { start: () => void; onConfig: () => void; };