import type { EmailAttachment } from './types';
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<EmailAttachment>;
    getAttachments(): Array<{
        filename: string | null;
        contentType: string | null;
        content: any;
        filesize: number;
    }>;
    getMessageText(): string | null;
    getMessageHtml(): string | null;
}
export default EmlReader;
