diff --git a/src/onebot/network/index.ts b/src/onebot/network/index.ts new file mode 100644 index 00000000..18d2840f --- /dev/null +++ b/src/onebot/network/index.ts @@ -0,0 +1,7 @@ +import BaseAction from '@/onebot/action/BaseAction'; +import { OB11BaseEvent } from '@/onebot/event/OB11BaseEvent'; + +export interface IOB11NetworkAdapter { + registerAction, P, R>(action: T): void; + onEvent(event: T): void; +}