import { type JWTAlgorithm, type JWTConfig, type JWTPayload } from './types.ts'; /** Import a CryptoKey from JWT configuration for signature verification. */ export declare function importJWTKey(config: JWTConfig): Promise; /** Sign a JWT payload. Primarily for testing. */ export declare function signJWT(payload: JWTPayload, secret: string, algorithm?: JWTAlgorithm): Promise; /** Verify a JWT token and return its decoded payload. */ export declare function verifyJWT(token: string, key: CryptoKey, config: JWTConfig): Promise;