export function preAuth(passport: any, ctx: any, next: any): Promise; export function postAuth(passport: any, ctx: any, next: any): Promise;