import { Message, Response } from "./messages"; export type AdaptorSubscribeTypeFn = (msg: string) => Promise; export type RouteSubscribeTypeFn = (msg: Message) => Promise>;