export declare function permissionsCheckMiddleware(allowedPermissions: string[]): (ctx: any, next: any) => Promise;