import { Router } from './router'; export interface SentMsg { msgId: string; resolve: (msg: any) => void; reject: (err: any) => void; resolved: boolean; } export declare function sendMessage(router: Router, msg: any): Promise; export declare function resolveMessages(router: Router): void;