import { Logger } from '@n8n/backend-common'; import { WorkflowRepository } from '@n8n/db'; import type { Response } from 'express'; import type { IHttpRequestMethods } from 'n8n-workflow'; import { NodeTypes } from '../node-types'; import { WebhookService } from '../webhooks/webhook.service'; import { WorkflowStaticDataService } from '../workflows/workflow-static-data.service'; import type { ExpectedWebhookNodeType } from './node-type-matcher'; import type { IWebhookResponseCallbackData, IWebhookManager, WebhookAccessControlOptions, WebhookRequest } from './webhook.types'; export declare class LiveWebhooks implements IWebhookManager { private readonly logger; private readonly nodeTypes; private readonly webhookService; private readonly workflowRepository; private readonly workflowStaticDataService; constructor(logger: Logger, nodeTypes: NodeTypes, webhookService: WebhookService, workflowRepository: WorkflowRepository, workflowStaticDataService: WorkflowStaticDataService); getWebhookMethods(path: string): Promise; findAccessControlOptions(path: string, httpMethod: IHttpRequestMethods): Promise; executeWebhook(request: WebhookRequest, response: Response, expectedNodeType?: ExpectedWebhookNodeType): Promise; private findWebhook; }