import { InstanceSettings } from 'n8n-core'; import { type IWebhookData, type IWorkflowBase, type IDestinationNode } from 'n8n-workflow'; import { CacheService } from '../services/cache/cache.service'; declare const TEST_WEBHOOK_REGISTRATION_VERSION = 1; export type TestWebhookRegistration = { version: typeof TEST_WEBHOOK_REGISTRATION_VERSION; pushRef?: string; workflowEntity: IWorkflowBase; destinationNode?: IDestinationNode; webhook: IWebhookData; }; export declare class TestWebhookRegistrationsService { private readonly cacheService; private readonly instanceSettings; constructor(cacheService: CacheService, instanceSettings: InstanceSettings); private readonly cacheKey; register(registration: TestWebhookRegistration): Promise; deregister(arg: IWebhookData | string): Promise; get(key: string): Promise; getAllKeys(): Promise; getAllRegistrations(): Promise; getRegistrationsHash(): Promise>; toKey(webhook: Pick): string; } export {};