/** * Pure function to build an EmailRecord from an AdonisJS mail event. * * Extracted from DashboardStore.wireEventListeners to reduce * cyclomatic complexity (the original had 28 due to many || chains). */ import type { EmailRecord } from '../debug/types.js'; export declare function buildEmailRecordFromEvent(data: unknown, status: EmailRecord['status']): EmailRecord;