import type { ExceptionEvent, MeasurementEvent, TransportItem } from '@grafana/faro-core';
export interface OtlpTransportRequestOptions extends Omit<RequestInit, 'body' | 'headers'> {
    headers?: Record<string, string>;
}
export interface OtlpHttpTransportOptions {
    apiKey?: string;
    bufferSize?: number;
    concurrency?: number;
    defaultRateLimitBackoffMs?: number;
    requestOptions?: OtlpTransportRequestOptions;
    readonly tracesURL?: string;
    readonly logsURL?: string;
    otlpTransform?: {
        createErrorLogBody?: (item: TransportItem<ExceptionEvent>) => string;
        createMeasurementLogBody?: (item: TransportItem<MeasurementEvent>) => string;
    };
}
