import type { Span } from '@opentelemetry/api';
export declare class SpanRegistry {
    private spans;
    static workflowKey(executionId: string): string;
    static nodeKey(executionId: string, nodeId: string): string;
    addWorkflow(executionId: string, span: Span): void;
    getWorkflow(executionId: string): Span | undefined;
    removeWorkflow(executionId: string): Span | undefined;
    addNode(executionId: string, nodeId: string, span: Span): void;
    getNode(executionId: string, nodeId: string): Span | undefined;
    removeNode(executionId: string, nodeId: string): Span | undefined;
    findUnendedNodeSpans(executionId: string): Span[];
    cleanup(executionId: string): void;
}
