import { JwtConfig } from "./jwt.types"; import { TokenAuthStrategyConfig, TokenConfig } from "../../types"; export declare class JwtTools { static generateAccessToken(payload: any, config: JwtConfig["accessToken"]): string; static generateRefreshToken(payload: any, config: JwtConfig["refreshToken"]): string; static verifyAccessToken(token: string, config: JwtConfig["accessToken"]): any; static verifyRefreshToken(token: string, config: JwtConfig["refreshToken"]): any; static setAccessTokenHeader(token: string, context: any): void; static setRefreshTokenCookie(token: string, context: any): void; static clearTokens(context: any): void; static getAccessToken(context: any): string | undefined; static getRefreshToken(context: any): string | undefined; static prepareAccessTokenConfig: (config: TokenConfig) => TokenConfig; static prepareRefreshTokenConfig: (config: TokenConfig) => TokenConfig; static setDefaultJwtCookie: (token: string, context: any) => void; static setDefaultJwtHeader: (token: string, context: any) => void; static clearDefaultJwtHeader: (context: any) => void; static clearDefaultJwtCookie: (context: any) => void; } export declare const prepareJwtConfig: (config: Partial>) => TokenAuthStrategyConfig;