import { EventService } from '@n8n/backend-services'; import type { RelayEventMap } from '../../events/maps/relay.event-map'; export declare class EventRelay { readonly eventService: EventService; constructor(eventService: EventService); protected setupListeners(map: { [EventName in EventNames]?: (event: RelayEventMap[EventName]) => void | Promise; }): void; }