import { AttributeValueType } from "../../utils/otel"; import { AnyValue } from "../../types/otlp"; export declare function transmitPageViewEvent(timeUnixNano: string, url?: URL, virtual?: boolean, replaced?: boolean): void; export type ManualPageViewOptions = { timeUnixNano: string; url?: URL; title: string; attributes?: Record; }; /** * Emits a manually-triggered page view log, e.g. from the public `startView` API. * Deliberately does NOT read `vars.pageViewInstrumentation.generateMetadata` and does NOT * include a `change_state` body key (a manual view is neither a pushState nor replaceState). * The emitted `type` is PAGE_VIEW_TYPE_VALUES.VIRTUAL, matching automatic virtual page views — * manual views are deliberately indistinguishable from virtual ones downstream. * Caller-provided attributes are added after the SDK-generated ones so they can override them, * matching the sendEvent semantics. */ export declare function transmitManualPageViewEvent(opts: ManualPageViewOptions): void;