import type { BaseSchema, FormBaseControlSchema, RendererProps } from '../types'; export interface EmailViewerSchema extends BaseSchema, Pick { type: 'email-viewer'; } export interface EmailViewProps extends EmailViewerSchema, RendererProps { } export interface EmailAttachment { filename: string | null; contentType: string | null; content: any; filesize: number; } export interface EmailObject { date: Date | null; subject: string; from: string; to: string; bcc?: string | null; cc?: string | null; replyTo: string | null; type: 'received' | 'sent'; size: number; messageText: string | null; messageHtml: string | null; attachment?: EmailAttachment[]; /** 引用文件 */ cititions?: EmailAttachment[]; }