/** * @param {Uint8Array} rpIdHash 32-byte hash from authData * @param {string | string[]} expectedRpId one RP ID or an ordered list * @returns {{ matched: string } | null} the RP ID that matched, or null */ export function matchRpId(rpIdHash: Uint8Array, expectedRpId: string | string[]): { matched: string; } | null;