package modagentw

import (
	"gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/agentwcfg"
	"gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/modagent"
	"gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/entity"
)

// Config holds configuration for a Module.
type Config struct {
	modagent.Config
	AgentMeta *entity.AgentwMeta
}

// These are aliases so that parametrised types and these types are the same type, not distinct types.

type Factory = modagent.Factory[*Config, *agentwcfg.AgentConfiguration]

type Module = modagent.Module[*agentwcfg.AgentConfiguration]
