import { RuntimeFrameworkService } from '../rtf-service'; export declare class MessagePipe { token: string; private rtfService; constructor(token: string, rtfService: RuntimeFrameworkService); /** * 向管道发送消息 * @param message 消息 */ sendMessage(message: any): this; /** * 监听管道消息 * @param handler 消息处理器 */ listen(handler: (data: any) => void): () => void; /** * 销毁管道 */ destory(): void; }