import(methods)

import(BiocGenerics)

import(RSQLite)

import(S4Vectors)

importFrom(stats, setNames)

importFrom(httr, GET, content, parse_url, progress, write_disk,
    stop_for_status, status_code, use_proxy)

importFrom(utils, capture.output, .DollarNames)

importFrom(interactiveDisplayBase, display)

importFrom(BiocInstaller, biocVersion)

importMethodsFrom(AnnotationDbi, dbconn, dbfile)

exportClasses(AnnotationHub) 

export(AnnotationHub, cache, "cache<-", display, hubUrl, hubCache,
    hubOption, setHubOption, removeCache, possibleDates, mcols)

S3method(.DollarNames, AnnotationHub)

S3method(as.list, AnnotationHub)

exportMethods(names, length, "$", "[", query, subset, "[[", as.list, c,
    show, fileName,
    snapshotDate, "snapshotDate<-", display, mcols, dbconn, dbfile)
