/** * Transport Layer — sends telemetry batches to the backend API. * Uses fetch with keepalive for unload safety. * Retries on 5xx with exponential backoff. */ import type { TelemetryEvent } from '../types.js'; export declare function initTransport(config: { endpoint: string; apiKey: string; debug?: boolean; }): void; /** Register the SDK's browser-generated public key and keep the registration * fresh. Concurrent callers share one request, so getDecision() can safely * await this even when init() has already started registration. */ export declare function registerSigningKey(sessionId: string, publicKey: JsonWebKey, force?: boolean): Promise; /** * Send a batch of events to the backend. */ export declare function sendBatch(events: TelemetryEvent[]): Promise; /** * Send session start notification. */ export declare function sendSessionStart(): Promise; /** * Send session end notification. */ export declare function sendSessionEnd(): Promise; //# sourceMappingURL=transport.d.ts.map