import { CacheEntry } from '../types.js';
export declare class DiskCache {
    private cacheDir;
    constructor(cacheDir?: string);
    init(): Promise<void>;
    private getCacheKey;
    private getCachePath;
    has(url: string): Promise<boolean>;
    get(url: string): Promise<CacheEntry | null>;
    put(url: string, markdown: string, title?: string): Promise<void>;
    getAge(url: string): Promise<number | null>;
}
