import type { WorkflowExecuteAfterContext } from '@n8n/decorators';
import type { SpanHandler } from './interfaces';
import type { SpanRegistry } from '../span-registry';
export declare class WorkflowEndHandler implements SpanHandler<WorkflowExecuteAfterContext> {
    handle(ctx: WorkflowExecuteAfterContext, spans: SpanRegistry): void;
    private endDanglingNodeSpans;
    private getErrorType;
}
