import type { ExecutionChannelCodec, ExecutionChannelPublisher, ExecutionChannelTopic } from '@n8n/engine'; import { type Result } from '@n8n/utils/result'; import type { InMemoryExecutionChannel } from './in-memory-execution-channel'; export declare class ExecutionChannelSender { private readonly publisher; private readonly codec; private stopped; constructor(publisher: ExecutionChannelPublisher, codec: ExecutionChannelCodec); send(message: T): Result; stop(): Promise; } export declare class InMemoryExecutionChannelPublisher implements ExecutionChannelPublisher { private readonly channel; private stopped; constructor(channel: InMemoryExecutionChannel); publish(topic: ExecutionChannelTopic, executionId: string, frame: string): void; stop(): Promise; }