import type { IRun, WorkflowOperationError } from 'n8n-workflow'; interface StoppedExecution { error: WorkflowOperationError; runningNode: string | undefined; } export declare class MemoryStoppedExecutions { enabled: boolean; private readonly stopped; private readonly finishing; markStopped(executionId: string, stop: StoppedExecution): void; forget(executionId: string): void; isStopped(executionId: string): boolean; isFinishing(executionId: string): boolean; pruneFinishing(isActive: (executionId: string) => boolean): void; onWorkflowExecuteStart(executionId: string): void; onWorkflowExecuteAfter(executionId: string, run: IRun): void; } export {};