export declare type Next = () => Promise<void>;
export declare type Middleware<T = any> = (ctx: T, next?: Next) => Promise<void>;
