import { type RemoteObject } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/comlink.ts";
Takes the raw type of a remote object in the other thread and returns the type as it is visible to the local thread
when proxied with Comlink.proxy()
.
This does not handle call signatures, which is handled by the more general Remote<T>
type.