import * as express from 'express'; import { IResponseCallbackData, IWorkflowDb } from './'; import { IWorkflowExecuteAdditionalData, WebhookHttpMethod, Workflow, WorkflowActivateMode, WorkflowExecuteMode } from 'n8n-workflow'; export declare class TestWebhooks { private testWebhookData; private activeWebhooks; constructor(); callTestWebhook(httpMethod: WebhookHttpMethod, path: string, request: express.Request, response: express.Response): Promise; getWebhookMethods(path: string): Promise; needsWebhookData(workflowData: IWorkflowDb, workflow: Workflow, additionalData: IWorkflowExecuteAdditionalData, mode: WorkflowExecuteMode, activation: WorkflowActivateMode, sessionId?: string, destinationNode?: string): Promise; cancelTestWebhook(workflowId: string): boolean; removeAll(): Promise; } export declare function getInstance(): TestWebhooks;