export interface PackageCache {
    get<T = any>(namespace: string, key: string): Promise<T | undefined>;
    set<T = any>(namespace: string, key: string, value: T, ttlMinutes?: number): Promise<void>;
    cleanup?(): Promise<void>;
}
export interface DecoratorCachedRecord {
    value: unknown;
    cachedAt: string;
}
export type PackageCacheNamespace = '_test-namespace' | 'changelog-bitbucket-notes@v2' | 'changelog-bitbucket-release' | 'changelog-gitea-notes@v2' | 'changelog-gitea-release' | 'changelog-github-notes@v2' | 'changelog-github-release' | 'changelog-gitlab-notes@v2' | 'changelog-gitlab-release' | 'datasource-artifactory' | 'datasource-aws-machine-image' | 'datasource-aws-rds' | 'datasource-azure-bicep-resource' | 'datasource-azure-pipelines-tasks' | 'datasource-bazel' | 'datasource-bitbucket-tags' | 'datasource-cdnjs-digest' | 'datasource-cdnjs' | 'datasource-conan-revisions' | 'datasource-conan' | 'datasource-conda' | 'datasource-cpan' | 'datasource-crate-metadata' | 'datasource-crate' | 'datasource-deno-details' | 'datasource-deno-versions' | 'datasource-deno' | 'datasource-docker-architecture' | 'datasource-docker-digest' | 'datasource-docker-hub-tags' | 'datasource-docker-imageconfig' | 'datasource-docker-labels' | 'datasource-docker-releases-v2' | 'datasource-docker-tags' | 'datasource-dotnet-version' | 'datasource-endoflife-date' | 'datasource-galaxy-collection-detailed-version' | 'datasource-galaxy-collection' | 'datasource-galaxy' | 'datasource-git-refs' | 'datasource-git-tags' | 'datasource-git' | 'datasource-gitea-releases' | 'datasource-gitea-tags' | 'datasource-github-releases' | 'datasource-gitlab-packages' | 'datasource-gitlab-releases' | 'datasource-gitlab-tags-commit' | 'datasource-gitlab-tags' | 'datasource-go-direct' | 'datasource-go-proxy' | 'datasource-go' | 'datasource-golang-version' | 'datasource-gradle-version' | 'datasource-helm' | 'datasource-hermit-package' | 'datasource-hermit-search-manifest' | 'datasource-hex' | 'datasource-hexpm-bob' | 'datasource-java-version' | 'datasource-maven:head-requests-timeout' | 'datasource-maven:head-requests' | 'datasource-maven:index-html-releases' | 'datasource-maven:metadata-xml' | 'datasource-node-version' | 'datasource-npm:data' | 'datasource-nuget' | 'datasource-orb' | 'datasource-packagist-org' | 'datasource-packagist-public-files' | 'datasource-packagist' | 'datasource-pod' | 'datasource-releases' | 'datasource-repology-list' | 'datasource-ruby-version' | 'datasource-rubygems' | 'datasource-terraform-module' | 'datasource-terraform-provider-build-hashes' | 'datasource-terraform-provider-builds' | 'datasource-terraform-provider-releaseBackendIndex' | 'datasource-terraform-provider-zip-hashes' | 'datasource-terraform-provider' | 'datasource-terraform' | 'datasource-unity3d' | 'github-releases-datasource-v2' | 'github-tags-datasource-v2' | 'go' | 'jenkins-plugins' | 'merge-confidence' | 'preset' | 'url-sha256';
