import type { CapturePageIdentity, StepUsage } from "./types.js"; import type { ScreenshotPageRunInput } from "./capture-run-optimizer.js"; export interface PageIdentityInferenceResult { identities: Record; usage: StepUsage | null; } /** * Use a cheap LLM call to classify all pages in a capture run. * Falls back to regex heuristics if the LLM call fails. */ export declare function inferPageIdentitiesWithLLM(pageRuns: ScreenshotPageRunInput[], model: string, apiKey: string, providerPrefs?: Record): Promise;