import { I as InitOptions, A as Analytics, T as TelemetryProperties, a as TelemetryMeasurements } from './types-DIaO4DAQ.js'; /** * Ultra-lite, dependency-free transport. Builds Application Insights envelopes * and posts them to the ingestion endpoint via `navigator.sendBeacon` (or * `fetch` with `keepalive`). Cookieless by construction: it never reads or * writes cookies, localStorage, or sessionStorage, and keeps only an in-memory * session id — so no consent banner is required. */ declare function createBeaconClient(options: InitOptions): Analytics; interface ParsedConnectionString { instrumentationKey: string; /** Ingestion endpoint with any trailing slash removed. */ ingestionEndpoint: string; } /** Parse an Application Insights connection string into its key + ingestion endpoint. */ declare function parseConnectionString(cs: string | undefined | null): ParsedConnectionString | null; /** * Initialize the default (beacon) analytics client once. Safe to call * repeatedly — subsequent calls return the existing client. The returned client * is a safe no-op when disabled or outside a browser. */ declare function init(options: InitOptions): Analytics; /** The active client, or `null` if {@link init} hasn't been called yet. */ declare function getClient(): Analytics | null; declare function trackEvent(name: string, properties?: TelemetryProperties, measurements?: TelemetryMeasurements): void; declare function trackPageView(name?: string, uri?: string, properties?: TelemetryProperties): void; declare function trackChangeDebounced(name: string, key: string, delayMs?: number): void; declare function flush(): void; declare function setEnabled(enabled: boolean): void; export { Analytics, InitOptions, type ParsedConnectionString, TelemetryMeasurements, TelemetryProperties, createBeaconClient, flush, getClient, init, parseConnectionString, setEnabled, trackChangeDebounced, trackEvent, trackPageView };