import { Context } from '@opentelemetry/api'; import { ReadableSpan, SpanProcessor, Span } from '@opentelemetry/sdk-trace-base'; import type { CrashBuffer } from '@multiplayer-app/session-recorder-common'; /** * Implementation of the {@link SpanProcessor} that batches spans exported by * the SDK then pushes them to the exporter pipeline. */ export declare class CrashBufferSpanProcessor implements SpanProcessor { private readonly _crashBuffer; private readonly _serializeSpan; constructor(_crashBuffer: CrashBuffer | undefined, _serializeSpan: (span: ReadableSpan) => any); forceFlush(): Promise; onStart(_span: Span, _parentContext: Context): void; onEnd(span: ReadableSpan): void; shutdown(): Promise; } //# sourceMappingURL=CrashBufferSpanProcessor.d.ts.map