Skip to content
Snippets Groups Projects
MailParser.d.ts 809 B
Newer Older
  • Learn to ignore specific revisions
  • Igor Markin's avatar
    Igor Markin committed
    export function fixNewLines(mime: any): any;
    export function extractMessageID(mime: any): any;
    export function parseMIME(mime: any): any;
    export function getHeaderValue(header: any, part: any): any;
    export function getGlobalHeaderValue(header: any, parts: any): any;
    export function getAttachments(mime: any, parts: any): any[];
    export function getAttachment(mime: any, part: any): {
        contentType: any;
        base64: any;
        contentId: any;
    };
    export function getFilenameFromHeaders(headers: any): string;
    export function extractHtmlBodyFromString(string: any): any;
    declare namespace _default {
        export { parseMIME };
        export { getHTML };
        export { getPlain };
    }
    export default _default;
    declare function getHTML(mime: any, parts: any): any;
    declare function getPlain(mime: any, parts: any): any;