import { SendOptions } from "./fetch"; import { LogRecord, Span } from "../types/otlp"; export declare function sendLog(log: LogRecord): void; /** * Transmits a session recording chunk as a single log record. Chunks bypass the log batcher: batching 15 chunks * of up to `chunkMaxBytes` each would produce requests far beyond the keepalive body limit. * * Chunks are gzipped by default because replay JSON compresses roughly 8:1. Pass `compress: false` when the * request must be issued synchronously, i.e. while the document is being unloaded: compression is asynchronous * and the page may be gone before `fetch()` is ever called. */ export declare function sendSessionRecordingChunk(log: LogRecord, opts?: SendOptions): void; export declare function sendSpan(span: Span | undefined): void;