export declare class DigestIntegrityError extends Error { code: 'DIGEST_CONFLICT' | 'DIGEST_ALTERED' | 'DIGEST_MISSING' | 'DIGEST_NOT_A_FILE'; constructor(code: DigestIntegrityError['code'], message: string); } export declare const digestJournalPath: (orgDir: string) => string; /** * Writes the digest of message `id` for `to` and returns its path, or checks it * when this id was already written (a retry). Throws DigestIntegrityError on any * mismatch; other I/O errors propagate. */ export declare function writeDigest(orgDir: string, to: string, id: string, body: string): string; //# sourceMappingURL=mail-integrity.d.ts.map