import type { ExpoBuildIdentity } from './types'; export type ExpoBuildProofEvidence = 'ios-signed-app' | 'android-signed-artifact' | 'eas-official-metadata'; type ExpoBuildProofBase = { createdAt: string; evidence: ExpoBuildProofEvidence; integrationGeneration: string; }; export type ExpoIosLocalBuildProof = ExpoBuildProofBase & { evidence: 'ios-signed-app'; artifactPath: string; embeddedCandidateSha256: string; }; export type ExpoAndroidLocalBuildProof = ExpoBuildProofBase & { evidence: 'android-signed-artifact'; artifactPath: string; artifactSha256: string; embeddedCandidateSha256: string; }; export type ExpoEasBuildProof = ExpoBuildProofBase & { evidence: 'eas-official-metadata'; easBuildId: string; }; export type ExpoBuildPlatformProof = ExpoIosLocalBuildProof | ExpoAndroidLocalBuildProof | ExpoEasBuildProof; export type ExpoBuildIdentityReceipt = { schemaVersion: 3; identities: { ios?: ExpoBuildIdentity; android?: ExpoBuildIdentity; }; proofs: { ios?: ExpoBuildPlatformProof; android?: ExpoBuildPlatformProof; }; }; /** * Hashes the packed source, build, configuration, and proof inputs that can * alter the Expo native integration or its signed build evidence. * A receipt from a different adapter generation must not authorize an upload. */ export declare function resolveExpoIntegrationGeneration(packageRoot?: string): string; export declare function parseExpoBuildIdentityReceipt(value: unknown, expectedIntegrationGeneration?: string): ExpoBuildIdentityReceipt; export {};