import StoreKit enum ProStore { static func buy(_ product: Product) async throws { _ = try await product.purchase() } static func restore() async throws { try await AppStore.sync() } }