export default function scope(...scopes: any[]): (ctx: any, next: any) => Promise;