import { Types } from 'mongoose'; export interface IDeadMessage { _id?: Types.ObjectId | string; topic: string; key?: string; headers?: Map; message?: string; ex?: string; resolved: boolean; createdAt: Date; resolvedAt?: Date; }