import type { ExecutionResponse, UnsubscribeFromExecutionChannel } from '@n8n/engine'; export type UnsubscribeExecutionResponse = UnsubscribeFromExecutionChannel; export interface ExecutionResponseReceiver { receive(executionId: string, handler: (response: ExecutionResponse) => void): Promise; stop(): Promise; }