///
import { IRun } from 'n8n-workflow';
import { IExecutionsCurrentSummary, IWorkflowExecutionDataProcess } from '.';
import { ChildProcess } from 'child_process';
import * as PCancelable from 'p-cancelable';
export declare class ActiveExecutions {
private activeExecutions;
add(executionData: IWorkflowExecutionDataProcess, process?: ChildProcess): Promise;
attachWorkflowExecution(executionId: string, workflowExecution: PCancelable): void;
remove(executionId: string, fullRunData?: IRun): void;
stopExecution(executionId: string, timeout?: string): Promise;
getPostExecutePromise(executionId: string): Promise;
getActiveExecutions(): IExecutionsCurrentSummary[];
}
export declare function getInstance(): ActiveExecutions;