import type { ImapFailureKind } from "./context.js"; /** * Which class of failure ended an IMAP operation, for the exported failure * counter (standalone-observability D3). `auth` is its own kind because it is * the one class that never resolves itself — an expired OAuth grant or a * changed password fails identically forever, and it is the most common way a * self-hosted mailbox goes quiet. A refresh that cannot mint a token is the * same condition arriving one layer earlier. */ export declare const imapFailureKind: (error: unknown) => ImapFailureKind;