export interface Middleware { use: (event: I) => Promise; }