# Export main user-facing functions
export(DIBmix, IBmix, GIBmix, AIBmix)
S3method(print,gibclust)
S3method(summary,gibclust)
S3method(print,summary.gibclust)
S3method(plot,gibclust)
S3method(print,aibclust)
S3method(summary,aibclust)
S3method(print,summary.aibclust)
S3method(plot,aibclust)

# Use dynamic libraries for C++ integration
useDynLib(IBclust, .registration = TRUE)

# Import functions from required packages
import(stats)
import(RcppEigen)
importFrom(utils, head)
importFrom(Rcpp, evalCpp)
import(np)
import(Rdpack)

# Import additional required libraries
importFrom(rje, powerSet)
importFrom(utils, flush.console)
importFrom(graphics, barplot, points)