// Copyright © Selmo Technology GmbH. All Rights Reserved

using Microsoft.AspNetCore.Components;
using SelmoStudio.Hmi.Server.SelmoHmi.Dialog.Model;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Dialog.Service
{
    public interface IDialogService
    {
        Task OpenAsync<T>(string title, Dictionary<string, object> parameters, IDialogOptions options) where T : ComponentBase;

        void Close();

        event Action OnClose;
    }
}