UNPKG

@junobuild/analytics

Version:

Tracker for Juno analytics

11 lines (10 loc) 516 B
import type { Environment } from '../types/env'; import type { SetPageViewRequestEntry, SetPerformanceMetricRequestEntry, SetTrackEventRequestEntry } from '../types/orbiter'; export declare class OrbiterServices { #private; constructor(env: Environment); setPageView: (entry: SetPageViewRequestEntry) => Promise<null>; setTrackEvent: (entry: SetTrackEventRequestEntry) => Promise<null>; setPerformanceMetric: (entry: SetPerformanceMetricRequestEntry) => Promise<null>; private satelliteId; }