interface JwtPayload { [key: string]: unknown; } interface SignOptions { expiresIn?: string; secret?: string; algorithm?: string; } interface VerifyOptions { secret?: string; algorithms?: string[]; } declare const jwt: { sign(payload: JwtPayload, options?: SignOptions): Promise; verify(token: string, options?: VerifyOptions): Promise; decode(token: string): T | null; }; type Jwt = typeof jwt; export { type Jwt, type JwtPayload, jwt };