using System.Threading.Tasks;
using Wino.Core.Domain.Entities.Shared;
namespace Wino.Core.Domain.Interfaces;
public interface IImapAccountCreationDialog : IAccountCreationDialog
{
///
/// Returns the custom server information from the dialog..
///
/// Null if canceled.
Task GetCustomServerInformationAsync();
///
/// Displays preparing folders page.
///
void ShowPreparingFolders();
///
/// Updates account properties for the welcome imap setup dialog and starts the setup.
///
/// Account properties.
void StartImapConnectionSetup(MailAccount account);
}