import { UUID } from '@letsrunit/utils'; declare function getMailbox(seed: UUID, name?: string, domain?: string): string; interface ReceiveOptions { wait?: boolean; timeout?: number; signal?: AbortSignal; after?: number; subject?: string; limit?: number; full?: boolean; } interface Email { timestamp: number; from: string; to: string; cc?: string; subject: string; html?: string; text?: string; attachments?: Attachment[]; } interface Attachment { filename: string; contentType: string; } declare function receiveMail(emailAddress: string, options?: ReceiveOptions): Promise; declare function toEml(email: Email): string; declare function fromEml(contents: string): Email; export { fromEml, getMailbox, receiveMail, toEml };