import { GmailBitDataParticipant, GMailMessage } from './GMailModels';
/**
 * Parses GMail Message.
 */
export declare class GMailMessageParser {
    private message;
    /**
     * Message's cached text body (used for performance optimization).
     */
    private textBody;
    /**
     * Message's cached html body (used for performance optimization).
     */
    private htmlBody;
    constructor(message: GMailMessage);
    /**
     * Gets the date from the Gmail message.
     * Returns Date object if message contains a date, otherwise returns undefined
     */
    getDate(): number;
    /**
     * Gets the title from the Gmail message.
     * Returns a string if message contains a title, otherwise returns undefined
     */
    getTitle(): string | undefined;
    /**
     * Gets all participants in a Gmail message.
     * Returns a string name and email.
     */
    getParticipants(): GmailBitDataParticipant[];
    /**
     * Gets message text body.
     */
    getTextBody(): string;
    /**
     * Gets message html body.
     */
    getHtmlBody(): any;
    /**
     * Removes some annoying characters that we don't wanna see in the body.
     */
    private removeAnnoyingCharacters;
    /**
     * Builds message's text body.
     */
    private buildTextBody;
    /**
     * Builds message's html body.
     */
    private buildHtmlBody;
}
