import type { FetchedPage } from "./browser.js"; export interface CacheOptions { dir: string; ttlMs: number; } export interface PageCache { readonly dir: string; readonly ttlMs: number; get(url: string): Promise; put(url: string, page: FetchedPage): Promise; readonly hits: number; readonly misses: number; } export declare function createCache(opts: CacheOptions): PageCache; export declare function cacheKey(url: string): string; //# sourceMappingURL=cache.d.ts.map