"polygon", "title", "matlines", "matplot", "matpoints")
importFrom("stats", "D", "plot.ts", "pnorm", "qnorm", "runif",

importFrom(graphics, abline, plot, axis, polygon, lines,
title, matplot, matlines, matpoints, par)
importFrom(stats, optim, qnorm, pnorm, smooth.spline, plot.ts, runif)

import("xts") # for xts namespace to be loaded (e.g., for working with data sets)

importFrom("graphics", "abline", "boxplot", "lines", "par", "plot")
importFrom("stats", "coef", "density", "lm", "model.frame","model.matrix", "model.response", "predict", "residuals")

"worst_VaR_hom", "dual_bound", "crude_VaR_bounds", "RA", "ARA")

"OpCl", "ClCl", "HiCl", "LoCl", "LoHi", "OpHi", "OpLo", "OpOp")
importFrom("stats", "dnorm", "dt", "integrate", "pnorm", "qnorm", "qt",
"runif", "uniroot", "qqline", "var", "filter", "ecdf", "stepfun")
importFrom("graphics", "image", "mtext", "plot", "rug", "abline", "lines",
importFrom("stats", "quantile", "HoltWinters", "density", "ppoints", "optim")
"VaR_np", "VaR_t", "VaR_GPD", "VaR_Par", "VaR_GPDtail",
"ES_np", "ES_t", "ES_GPD", "ES_Par", "ES_GPDtail",

"uniroot", "integrate", "var", "cov", "filter", "ecdf", "stepfun",

"uniroot", "integrate", "filter", "ecdf", "stepfun",

"axis", "segments", "par", "points", "axTicks", "polygon")
"pp_plot", "qq_plot", "step_plot", "edf_plot", "eqf_plot",
"VaR_np", "VaR_t", "VaR_t01", "VaR_GPD", "VaR_Par", "VaR_GPDtail",
"ES_np", "ES_t", "ES_t01", "ES_GPD", "ES_Par", "ES_GPDtail",

## import("xts") # for xts namespace to be loaded (e.g., for working with data sets)

importFrom("graphics", "image", "mtext", "plot", "rug")

useDynLib(qrmtools, .registration = TRUE, .fixes = "C_")
importFrom("graphics", "image", "mtext", "plot", "rug", "abline")
"VaR_np", "VaR_t", "VaR_Par", "ES_np", "ES_t", "ES_Par",
"NA_plot", "matrix_plot", "matrix_density_plot", "pp_plot", "qq_plot",

"VaR_np", "VaR_t", "VaR_GPD", "VaR_Par", "VaR_POT",
"ES_np", "ES_t", "ES_GPD", "ES_Par", "ES_POT",

export("qsave", "qread", "qinspect", "qdump", "zstd_compress_bound",

importFrom(utils, download.file, head, menu, tail, unzip)
export(qmethods, qsetClass, qsetMethod, qsetSlot, qsetSignal, qsetProperty,
S3method(print, QWidget) ## calls $show()
## allow other packages to provide Smoke modules
## convenience for stylesheet manipulation
export(qrect, qpoint, qsize, qcolor, qfont, qpen, qbrush, qtransform, qpolygon)
## special case wrappers (e.g., for template functions)