/** Identifies the app whose assertions are being verified. */ export interface AssertionAppInfo { /** Apple App ID in the format `TEAMID.bundleId`. */ appId: string; } /** * @deprecated Use {@linkcode AssertionAppInfo}. This alias exists because * the attestation entry points export a different `AppInfo` shape (with * `developmentEnv`); the distinct name removes the ambiguity. */ export type AppInfo = AssertionAppInfo; /** Successful assertion verification result. */ export interface AssertionResult { /** Updated sign count to persist for the next assertion. */ signCount: number; } /** * Verify an Apple App Attest assertion. * * Validates the CBOR-encoded assertion against the expected app ID, * checks the monotonic sign counter, and verifies the ECDSA signature * using the device's public key. * * @throws {AssertionError} If any verification step fails. */ export declare function verifyAssertion(appInfo: AssertionAppInfo, assertion: Uint8Array | string, clientData: Uint8Array | string, publicKeyPem: string, previousSignCount: number): Promise;