namespace ZB.MOM.WW.OtOpcUa.Commons.Browsing;
///
/// Per-driver factory that opens an ad-hoc browse session against the configuration
/// supplied as JSON. Parallels IDriverProbe in the runtime — one implementation
/// per driver type, registered in AdminUI DI and indexed by .
///
public interface IDriverBrowser
{
/// Driver type key, matching the AdminUI's persisted DriverType string
/// (e.g. "OpcUaClient", "Galaxy").
string DriverType { get; }
/// Opens a browse session against the supplied configuration.
/// Driver options serialized as JSON; same shape the runtime
/// driver would consume.
/// Cancellation for the connect phase only.
Task OpenAsync(string configJson, CancellationToken cancellationToken);
}