export declare function setCurrentRole(ctx: any, next: any): Promise;