import { Request, Response } from "express"; import { AuthData, Config, TokenResult, VerifyResult } from "./type"; export declare class JWTAuth { private static config; private static redisClient; private constructor(); static init(config: Config): Promise; static close(): Promise; private static getRefreshData; private static updateRefreshData; private static getAccessToken; private static getRefreshId; static VerifyJWT(req: Request, res: Response): Promise; static CreateJWT(req: Request, res: Response, user: AuthData): Promise; static RevokeJWT(req: Request, res: Response, refresh_id?: string): Promise; static GetAuth(auth: AuthData | number): { isAuth: boolean; isError: boolean; isGuest: boolean; id?: string | undefined; name?: string | undefined; email?: string | undefined; thumbnail?: string; level?: number; role?: string; scope?: string[]; }; } export default JWTAuth; //# sourceMappingURL=JWTAuth.d.ts.map