export type SendReturnResult = { result: any } export type SendReturn = any export type SendOld = ({ method }: { method: string }) => Promise export type SendAsync = ( request: { method: string; params?: Array }, callback: (error: any, response: any) => void ) => void