import type { EmailJSON } from './JSON'; export declare class Email { readonly id: string; readonly fromEmailName: string; readonly emailAddressId: string | null; readonly toEmailAddress?: string | undefined; readonly subject?: string | undefined; readonly body?: string | undefined; readonly status?: string | undefined; constructor(id: string, fromEmailName: string, emailAddressId: string | null, toEmailAddress?: string | undefined, subject?: string | undefined, body?: string | undefined, status?: string | undefined); static fromJSON(data: EmailJSON): Email; }