import type { BrowserAdapter } from "@sudobility/webgraph_parser"; import type { NetworkLogEntry, FormInfo } from "@sudobility/testomniac_types"; export interface PluginContext { runnerId: number; runId: number; baseUrl: string; pages: { id: number; url: string; }[]; pageStates: { id: number; pageId: number; html: string; text: string; url: string; headers: Record; }[]; networkLogs: NetworkLogEntry[]; forms: FormInfo[]; openai?: unknown; browser: BrowserAdapter; } export interface PluginIssue { type: string; severity: "error" | "warning" | "info"; description: string; pageUrl: string; pageId?: number; pageStateId?: number; details?: Record; } export interface PluginResult { issues: PluginIssue[]; metadata?: Record; } export interface Plugin { name: string; description: string; analyze(context: PluginContext): Promise; } //# sourceMappingURL=types.d.ts.map