/** * Email screening via Claude Haiku (OAuth, never API key — admin path). * * Classifies inbound emails before they enter Neo4j. Verdicts: * clean — legitimate correspondence, store normally * suspicious — phishing indicators or prompt injection patterns, store with flag * discard — obvious spam / bulk marketing / auto-generated noise, store without embedding * * On any failure the email defaults to "suspicious" (deny by default). * Auth: runs on Claude Code OAuth via `callOauthLlm`. */ export interface ScreeningInput { fromAddress: string; fromName: string | null; subject: string; bodyPreview: string; } export interface ScreeningResult { verdict: "clean" | "suspicious" | "discard"; reason: string; promptInjectionRisk: boolean; } /** * Classify a single email via Haiku. Returns a ScreeningResult. * On any failure (network, auth, malformed response), returns * { verdict: "suspicious", reason: "", promptInjectionRisk: false }. */ export declare function screenEmail(input: ScreeningInput): Promise; //# sourceMappingURL=screening.d.ts.map