import { Algorithm, VerifyOptions } from 'jsonwebtoken'; export declare type EnvoyJWTAlgorithm = Algorithm; export declare type EnvoyJWTDecodeOptions = VerifyOptions; /** * Helper to encode and decode JWTs. * * @category Helper * @category Request Object */ export default class EnvoyJWT { private secret; private algorithm; constructor(secret?: string, algorithm?: EnvoyJWTAlgorithm); encode(subject: string | number | null, expiresIn: string | number | null, payload?: Record): string; decode(token: string, options?: EnvoyJWTDecodeOptions): Record; } //# sourceMappingURL=EnvoyJWT.d.ts.map