## c code:
useDynLib(betategarch)

## import:
import(zoo)
importFrom("stats", "fitted", "nlminb", "optimHess", "rt", "runif", "vcov")

## export:
export(

  ##density functions:
  "rST", "dST", "STmean", "STvar", "STskewness", "STkurtosis",

  ##main functions:
  "tegarchSim", "tegarchRecursion", "tegarchRecursion2", "tegarchLogl", "tegarchLogl2", "tegarch", 

  ##extraction functions:
  "coef.tegarch", "fitted.tegarch", "logLik.tegarch", "predict.tegarch", "print.tegarch", "residuals.tegarch", "summary.tegarch", "vcov.tegarch"

)

## methods:
S3method("coef", "tegarch")
S3method("fitted", "tegarch")
S3method("logLik", "tegarch")
S3method("predict", "tegarch")
S3method("print", "tegarch")
S3method("residuals", "tegarch")
S3method("summary", "tegarch")
S3method("vcov", "tegarch")

