interface ConnectionRe-exportimport { type Connection } from "https://deno.land/x/mtkruto@0.6.3/mod.ts"; PropertiesoptionalstateChangeHandler: (connected: boolean) => voidoptionalcallback: { read(count: number): void; write(count: number): void; }Methodsgetterconnected(): booleanopen(): MaybePromise<void>write(p: Uint8Array): MaybePromise<void>close(): MaybePromise<void>read(p: Uint8Array): MaybePromise<void>