import type { INode, IWebhookResponseData, IWorkflowBase, WebhookResponseMode, WorkflowExecuteMode } from 'n8n-workflow'; import { EngineV2Dispatcher } from '../services/engine-v2-dispatcher.service'; import { EngineV2PayloadGuard } from '../services/engine-v2-payload-guard.service'; export type EngineV2WebhookRequest = { workflowStartNode: INode; responseMode: WebhookResponseMode; executionId: string | undefined; }; export declare class EngineV2Webhooks { private readonly dispatcher; private readonly payloadGuard; constructor(dispatcher: EngineV2Dispatcher, payloadGuard: EngineV2PayloadGuard); handles(workflowData: IWorkflowBase, executionMode: WorkflowExecuteMode): boolean; assertSupported({ workflowStartNode, responseMode, executionId }: EngineV2WebhookRequest): void; assertPayloadSupported(webhookResultData: IWebhookResponseData): void; }