/**
 * Document Cache Utilities
 */
import type { CacheMetadata } from "./interfaces.js";
/**
 * Ensure cache directory exists
 */
export declare function ensureCacheDir(): Promise<void>;
/**
 * Generate safe filename from URL
 */
export declare function urlToFilename(url: string): string;
/**
 * Read cache metadata
 */
export declare function readMetadata(): Promise<CacheMetadata>;
/**
 * Write cache metadata
 */
export declare function writeMetadata(metadata: CacheMetadata): Promise<void>;
