using System.Windows.Controls;

namespace ClaudeDo.Installer.Core;

public interface IInstallerPage
{
    string Title { get; }
    string Icon { get; }
    int Order { get; }
    bool ShowInWizard { get; }
    bool ShowInSettings { get; }
    UserControl View { get; }
    Task LoadAsync();
    Task ApplyAsync();
    bool Validate();

    /// <summary>True while this page wants "Next" disabled (e.g. a check run in progress or a blocking error).</summary>
    bool BlocksNavigation => false;
}
