export default function jwtAuth(requireUser?: boolean): (ctx: any, next: any) => Promise;