import { CanActivate, ExecutionContext } from '@nestjs/common'; import { UserProfile } from '../core/auth/user.entities'; import type { WXJwtPayload } from './interfaces'; export declare class WXAuthGuard implements CanActivate { logger: import("@nestjs/common").Logger; canActivate(context: ExecutionContext): Promise; } declare const GqlWXAuthGuard_base: import("@nestjs/passport").Type; export declare class GqlWXAuthGuard extends GqlWXAuthGuard_base { private readonly opts; /** * @param opts.anonymousSupport default false */ constructor(opts?: { anonymousSupport: boolean; }); handleRequest(err: any, payload: WXJwtPayload, info: any): Promise; /** * In order to use AuthGuard together with GraphQL, * you have to extend the built-in AuthGuard class and override getRequest() method. * @param context */ getRequest(context: ExecutionContext): any; } export {};