// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_PROMOS_MANAGER_PUBLIC_UTILS_H_
#define IOS_CHROME_BROWSER_PROMOS_MANAGER_PUBLIC_UTILS_H_

@class SceneState;
@class UIViewController;

// Returns whether Promos Manager can display promos in current session (cold
// start to termination).
bool ShouldPromoManagerDisplayPromos();

// Returns YES if a promo can be displayed for the given scene state.
bool IsUIAvailableForPromo(SceneState* scene_state,
                           UIViewController* base_view_controller = nullptr);

#endif  // IOS_CHROME_BROWSER_PROMOS_MANAGER_PUBLIC_UTILS_H_
