import("methods")
import("data.table")
import("ggplotFL")
import("FLCore")
import("foreach")
import("parallelly")
import("progressr")
import("patchwork")
import("FLasher")

importFrom("FLBRP",
  "refpts",
  "refpts<-",
  "brp",
  "FLBRP")

importFrom("stats",
  "coef",
  "coefficients",
  "lm",
  "na.exclude",
  "setNames",
  "rf")

export(
  "bisect",
  "catchSSB.hcr",
  "computeFp05",
  "cpue.hcr",
  "cpue.ind",
  "default.oem",
  "effort.is",
  "effortlimit.fb",
  "expandGrid",
  "fixedC.hcr",
  "fixedF.hcr",
  "FLiem",
  "fwd.om",
  "goFish",
  "gridList",
  "hockeystick.hcr",
  "hyperstability.fb",
  "ices.hcr",
  "indicator.hcr",
  "indicator.phcr",
  "indicator.is",
  "len.ind",
  "mlc.ind",
  "movingF.hcr",
  "movingF.phcr",
  "mp",
  "mpCtrl",
  "mpDispatch",
  "mpa.tm",
  "mseCtrl",
  "noise.iem",
  "perfect.oem",
  "perfect.sa",
  "pid.hcr",
  "plot_hockeystick.hcr",
  "sampling.oem",
  "seasonal.is",
  "splitTAC.is",
  "tac.is",
  "target.hcr",
  "trend.hcr",
  "tunebisect",
  "tunegrid")

exportClasses(
  "FLiem",
  "FLmse",
  "FLoem",
  "FLom",
  "FLombf",
  "mpCtrl",
  "mseCtrl")

exportMethods(
  "[",
  "args",
  "args<-",
  "biol",
  "biol<-",
  "biols",
  "biols<-",
  "catch",
  "catch.n",
  "catch.wt",
  "control",
  "db",
  "debug",
  "deviances",
  "deviances<-",
  "dims",
  "dimnames",
  "discards",
  "discards.n",
  "discards.wt",
  "est",
  "est<-",
  "exists",
  "FCB",
  "FCB<-",
  "fec",
  "fisheries",
  "fisheries<-",
  "fleetBehaviour",
  "fleetBehaviour<-",
  "FLmse",
  "FLoem",
  "FLom",
  "FLombf",
  "fwd",
  "hcr",
  "hcr<-",
  "index.hat",
  "isys",
  "isys<-",
  "iter",
  "landings",
  "m",
  "mat",
  "mcN",
  "merge",
  "method",
  "method<-",
  "metrics",
  "n",
  "observations",
  "observations<-",
  "oem",
  "oem<-",
  "om",
  "om<-",
  "performance",
  "phcr",
  "phcr<-",
  "projection",
  "projection<-",
  "rec",
  "sr<-",
  "ssb",
  "stock",
  "stock.n",
  "stock.wt",
  "tm",
  "tm<-",
  "tsb",
  "track<-",
  "tracking",
  "tracking<-",
  "undebug",
  "wt")
