/** * Produce the canonical JSON byte string for a JWK, per RFC 7638 ยง3.2. * Members that are absent throw {@link ErrorCode.MISSING_REQUIRED_MEMBER}. * * @param {object} jwk * @returns {Buffer} the UTF-8 bytes to feed the digest */ export function canonicalise(jwk: object): Buffer; /** * The lexicographically-sorted required-member set for each kty. * `JSON.stringify` with these keys in this order and no replacer yields * the canonical thumbprint input. */ export const REQUIRED_MEMBERS: Readonly<{ EC: readonly string[]; RSA: readonly string[]; oct: readonly string[]; OKP: readonly string[]; }>;