import type { Context } from "@opentelemetry/api";
import type { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base";
import type { SignalAttributeValue } from "../index.js";
export declare class EnrichSpanProcessor implements SpanProcessor {
    private readonly _spanAttributes;
    constructor(spanAttributes?: Record<string, SignalAttributeValue | (() => SignalAttributeValue)>);
    forceFlush(): Promise<void>;
    onStart(span: Span, _context: Context): void;
    onEnd(_span: ReadableSpan): void;
    shutdown(): Promise<void>;
}
