import type { EVisaPhase } from "../types.js"; import type { PageSnapshot } from "./page-snapshot.js"; export type PageKind = "entry_page" | "document_type" | "document_number" | "date_of_birth" | "two_factor_method" | "two_factor_code" | "prove_status" | "confirmation" | "purpose_selection" | "summary" | "download_pdf" | "auth_error" | "session_expired" | "service_unavailable" | "unknown"; export interface PageClassification { kind: PageKind; confidence: number; evidence: string[]; alternatives: Array<{ kind: PageKind; confidence: number; evidence: string[]; }>; phase: EVisaPhase; } export declare const classifyPage: (snapshot: PageSnapshot) => PageClassification;