namespace NATS.Server.Imports;

/// <summary>
/// Immutable view of a service export, returned by Account query methods.
/// IsWildcard is true when the subject contains '*' or '>'.
/// Go reference: accounts.go serviceExport struct.
/// </summary>
public sealed record ServiceExportInfo(
    string Subject,
    ServiceResponseType ResponseType,
    IReadOnlyList<string> ApprovedAccounts,
    bool IsWildcard);
