import type { EmailSummary } from "../providers/interface.js"; export declare const CATEGORIES: { readonly needs_reply: "A real person is writing to the recipient and expects an answer or a decision"; readonly fyi: "Personal or work information for the recipient that needs no reply"; readonly newsletter: "A newsletter, digest, blog update or marketing email"; readonly receipt: "A receipt, invoice, order confirmation, payment or shipping notice"; readonly notification: "An automated notification from an app or service, such as an alert, comment, sign-in or report"; readonly suspicious: "Phishing, a scam, or an unexpected request for money, credentials or personal data"; }; export type Category = keyof typeof CATEGORIES; export declare const CATEGORY_LABELS: Record; export interface Triage { category: Category; confidence: number; urgent: boolean; } export declare function jevApiKey(): string | undefined; export declare function triageMessages(messages: EmailSummary[], key: string, fetchImpl?: typeof fetch): Promise<{ results: Map; failed: number; }>; export declare function formatTriage(t: Triage): string;