import type { CacheOptions, ClearOptions } from '../types.js'; export default class Cache { private cachePath; private maxAge; private cwdHash; constructor(options?: CacheOptions); clear(options?: ClearOptions): void; hash(contents: string): string; key(filePath: string, options: object): string; get(key: string, hash: string): T | null; set(key: string, data: T, hash: string): T; }