import { CompressionMethod } from './constants'; import { ArtifactCacheEntry, InternalCacheOptions, ReserveCacheResponse, ITypedResponseWithError } from './contracts'; import { DownloadOptions, UploadOptions } from '../options'; export declare function getCacheVersion(paths: string[], compressionMethod?: CompressionMethod, enableCrossOsArchive?: boolean): string; export declare function getCacheEntry(keys: string[], paths: string[], options?: InternalCacheOptions): Promise; export declare function downloadCache(archiveLocation: string, archivePath: string, options?: DownloadOptions): Promise; export declare function reserveCache(key: string, paths: string[], options?: InternalCacheOptions): Promise>; export declare function saveCache(cacheId: number, archivePath: string, options?: UploadOptions): Promise;