import { Source as ParserSource } from "mailparser"; import { ITriggerClassType, ITriggerContructorParams, IHelpers, AnyObject, ITriggerOptions } from "actionsflow-core"; export default class Email implements ITriggerClassType { options: ITriggerOptions; helpers: IHelpers; getItemKey(item: AnyObject): string; constructor({ helpers, options }: ITriggerContructorParams); run(): Promise; } export declare function parseRawEmail(this: Email, messageEncoded: ParserSource, shouldDownloadAttachments: boolean): Promise;