export { Telefunc }; import crossws from 'crossws/adapters/deno'; import type { Telefunc as TelefuncNamespace } from '../node/server/context/getContext.js'; type DenoWs = ReturnType; type DenoInfo = Parameters[1]; type ServeInput = { request: Request; info: DenoInfo; context?: TelefuncNamespace.Context; }; interface TelefuncServe { serve(input: ServeInput): Promise; } interface Telefunc extends TelefuncServe { } declare class Telefunc { constructor(); }