import { Context, Next } from '@tego/server';
export declare function createMiddleware(ctx: Context, next: Next): Promise<any>;
export declare function destroyMiddleware(ctx: Context, next: Next): Promise<any>;
