import { IActivationError, IResponseCallbackData, IWorkflowDb } from './'; import { IGetExecutePollFunctions, IGetExecuteTriggerFunctions, INode, INodeExecutionData, IWorkflowExecuteAdditionalData as IWorkflowExecuteAdditionalDataWorkflow, WebhookHttpMethod, Workflow, WorkflowActivateMode, WorkflowExecuteMode } from 'n8n-workflow'; import * as express from 'express'; export declare class ActiveWorkflowRunner { private activeWorkflows; private activationErrors; init(): Promise; initWebhooks(): Promise; removeAll(): Promise; executeWebhook(httpMethod: WebhookHttpMethod, path: string, req: express.Request, res: express.Response): Promise; getWebhookMethods(path: string): Promise; getActiveWorkflows(): Promise; isActive(id: string): Promise; getActivationError(id: string): IActivationError | undefined; addWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflowExecuteAdditionalDataWorkflow, mode: WorkflowExecuteMode, activation: WorkflowActivateMode): Promise; removeWorkflowWebhooks(workflowId: string): Promise; runWorkflow(workflowData: IWorkflowDb, node: INode, data: INodeExecutionData[][], additionalData: IWorkflowExecuteAdditionalDataWorkflow, mode: WorkflowExecuteMode): Promise; getExecutePollFunctions(workflowData: IWorkflowDb, additionalData: IWorkflowExecuteAdditionalDataWorkflow, mode: WorkflowExecuteMode, activation: WorkflowActivateMode): IGetExecutePollFunctions; getExecuteTriggerFunctions(workflowData: IWorkflowDb, additionalData: IWorkflowExecuteAdditionalDataWorkflow, mode: WorkflowExecuteMode, activation: WorkflowActivateMode): IGetExecuteTriggerFunctions; add(workflowId: string, activation: WorkflowActivateMode, workflowData?: IWorkflowDb): Promise; remove(workflowId: string): Promise; } export declare function getInstance(): ActiveWorkflowRunner;