import { JwtHeader, JwtPayload } from './jwt.js' import { RequiredKey } from './util.js' export type VerifyOptions = { audience?: string | readonly string[] clockTolerance?: string | number issuer?: string | readonly string[] maxTokenAge?: string | number subject?: string typ?: string currentDate?: Date requiredClaims?: readonly C[] } export type VerifyPayload = Record export type VerifyResult

= { payload: RequiredKey

protectedHeader: JwtHeader }