import { Context } from 'koa'; export declare function errorMiddleware(ctx: Context, next: () => any): Promise;