import type { ApiClient } from "../api/client.js"; import type { PageResponse } from "@sudobility/testomniac_types"; /** * In-memory cache of pages for an app, backed by the API. * Key is the normalized URL (stripped of fragment). * Avoids redundant API calls for the same URL during a scan. */ export declare class PageCache { private cache; private runnerId; private api; constructor(runnerId: number, api: ApiClient); /** Preload all existing pages for this app from the API. */ preload(): Promise; /** Find or create a page by URL. Returns cached result if available. */ findOrCreate(url: string): Promise; /** Check if a URL has already been seen (without API call). */ has(url: string): boolean; get size(): number; private normalizeUrl; } //# sourceMappingURL=page-cache.d.ts.map