import { a as AppStoreConnectClient } from './index-BKUapQP2.cjs'; import { b as Platform, R as ReleaseType } from './enums-B609j2rb.cjs'; interface LocalizedMetadata { locale: string; description?: string; keywords?: string; releaseNotes?: string; supportUrl?: string; marketingUrl?: string; promotionalText?: string; name?: string; subtitle?: string; privacyUrl?: string; } /** * Review information submitted to App Store Connect for App Review. * Mirrors Fastlane deliver's `review_first_name`, `review_last_name`, * etc. (upload_metadata.rb lines 45-51), mapping to ASC's * `appStoreReviewDetails` attribute names. */ interface ReviewInformation { firstName?: string; lastName?: string; phoneNumber?: string; emailAddress?: string; demoUser?: string; demoPassword?: string; notes?: string; } interface MetadataSet { localizations: LocalizedMetadata[]; copyright?: string; /** Typed review information extracted from `review_information/`. */ reviewInformation?: ReviewInformation; /** Raw review information map, including any unrecognised filenames. */ reviewInfo?: Record; } declare function loadMetadata(metadataPath: string): Promise; interface DeliverOptions { client: AppStoreConnectClient; bundleIdentifier: string; appVersion?: string; platform?: Platform; ipaPath?: string; pkgPath?: string; metadataPath?: string; screenshotsPath?: string; submitForReview?: boolean; automaticRelease?: boolean; releaseType?: ReleaseType; skipBinaryUpload?: boolean; skipMetadata?: boolean; skipScreenshots?: boolean; force?: boolean; apiKeyId?: string; apiIssuerId?: string; apiPrivateKey?: string; copyright?: string; onOutput?: (chunk: string) => void; } interface DeliverResult { appId: string; versionId: string; submitted: boolean; } declare function uploadToAppStore(options: DeliverOptions): Promise; declare function submitForReview(options: { client: AppStoreConnectClient; appId: string; versionId: string; }): Promise; declare function uploadMetadata(options: { client: AppStoreConnectClient; appId: string; versionId: string; metadataPath: string; }): Promise; declare function uploadScreenshots(options: { client: AppStoreConnectClient; versionId: string; screenshotsPath: string; }): Promise; type index_DeliverOptions = DeliverOptions; type index_DeliverResult = DeliverResult; type index_LocalizedMetadata = LocalizedMetadata; type index_MetadataSet = MetadataSet; declare const index_loadMetadata: typeof loadMetadata; declare const index_submitForReview: typeof submitForReview; declare const index_uploadMetadata: typeof uploadMetadata; declare const index_uploadScreenshots: typeof uploadScreenshots; declare const index_uploadToAppStore: typeof uploadToAppStore; declare namespace index { export { type index_DeliverOptions as DeliverOptions, type index_DeliverResult as DeliverResult, type index_LocalizedMetadata as LocalizedMetadata, type index_MetadataSet as MetadataSet, index_loadMetadata as loadMetadata, index_submitForReview as submitForReview, index_uploadMetadata as uploadMetadata, index_uploadScreenshots as uploadScreenshots, index_uploadToAppStore as uploadToAppStore }; } export { type DeliverOptions as D, type LocalizedMetadata as L, type MetadataSet as M, type DeliverResult as a, uploadMetadata as b, uploadScreenshots as c, index as i, loadMetadata as l, submitForReview as s, uploadToAppStore as u };