import { Environment } from '../../types/checkout/CheckoutConfig.type'; export type TelemetryIntegration = 'dropin' | 'elements'; type TelemetryConfig = { environment: Environment; sessionId: string; integration: TelemetryIntegration; }; type TelemetryClient = { pushError: (error: Error, options?: { context?: Record; }) => void; pushEvent: (name: string, attributes?: Record) => void; pushMeasurement: (measurement: { type: string; values: Record; context?: Record; }) => void; pushLog: (messages: string[], options?: { level?: 'trace' | 'debug' | 'info' | 'log' | 'warn' | 'error'; context?: Record; }) => void; setView: (view: { name: string; }) => void; }; export declare const initializeTelemetry: (config: TelemetryConfig) => TelemetryClient | null; export declare const getTelemetryInstance: () => TelemetryClient | null; export declare const pushError: (error: Error, context?: Record) => void; export declare const pushEvent: (name: string, attributes?: Record) => void; export declare const pushMeasurement: (name: string, value: number, unit?: string, context?: Record) => void; export declare const pushLog: (message: string, level?: "info" | "warn" | "error", context?: Record) => void; export declare const setView: (name: string) => void; export {}; //# sourceMappingURL=Telemetry.service.d.ts.map