///
import * as fs from 'fs';
import { ProcessBundleOptions, ProcessBundleResult } from './process-bundle';
export interface CacheEntry {
path: string;
size: number;
integrity?: string;
}
export declare class BundleActionCache {
private readonly cachePath;
private readonly integrityAlgorithm?;
constructor(cachePath: string, integrityAlgorithm?: string | undefined);
static copyEntryContent(entry: CacheEntry | string, dest: fs.PathLike): void;
generateBaseCacheKey(content: string): string;
generateCacheKeys(action: ProcessBundleOptions): string[];
getCacheEntries(cacheKeys: (string | undefined)[]): Promise<(CacheEntry | null)[] | false>;
getCachedBundleResult(action: ProcessBundleOptions): Promise;
}