UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

29 lines (28 loc) 830 B
declare class EmlReader { #private; constructor(arrayBuffer: ArrayBuffer | Uint8Array); getDate(): Date | null; getSubject(): string; getFrom(): string; getBcc(): string | null; getCc(): string | null; getTo(): string; getReplyTo(): string | null; getType(): 'received' | 'sent'; getHeader(key: string, decode?: boolean, removeLineBreaks?: boolean): string | string[] | null; getCititions(): Array<{ filename: string | null; contentType: string | null; content: any; filesize: number; }>; getAttachments(): Array<{ filename: string | null; contentType: string | null; content: any; filesize: number; }>; getMessageText(): string | null; getMessageHtml(): string | null; } export default EmlReader;