import type { ProcessContext } from "../context.js"; import type { EmptyTrashEvent } from "../events.js"; /** * Handle EMPTY_TRASH events. * Permanently deletes all messages in the Trash mailbox. * * The only unrecoverable mutation reader issues, so the folder's identity is * confirmed here, on the connection that does the expunging: the role still * names this mailbox on confirmed evidence, and the UIDVALIDITY the SELECT * serves still matches the one the user consented to. Every refusal reverts * the optimistic local marks and acks — a throw would stall the account's FIFO * group behind an event no retry can fix (issues #287, #289, #290). */ export declare const handleEmptyTrash: (event: EmptyTrashEvent, ctx: ProcessContext) => Promise;