import type { ExecutionChannelFrameHandler, ExecutionChannelTopic, UnsubscribeFromExecutionChannel } from '@n8n/engine'; import { InMemoryExecutionChannelSubscriber } from './execution-channel-receiver'; import { InMemoryExecutionChannelPublisher } from './execution-channel-sender'; export declare class InMemoryExecutionChannel { private readonly emitter; publish(topic: ExecutionChannelTopic, executionId: string, frame: string): void; subscribe(topic: ExecutionChannelTopic, executionId: string, handler: ExecutionChannelFrameHandler): UnsubscribeFromExecutionChannel; } export declare function createInMemoryExecutionChannel(): { publisher: InMemoryExecutionChannelPublisher; subscriber: InMemoryExecutionChannelSubscriber; };