/** * Extract the "new content" from a reply email — strip quoted previous * messages and trailing signatures. * * The world moved on from the Ruby `email_reply_parser` heuristics * around 2018 so we ship the same approach: look for canonical * header-bodied replies ("On ... wrote:") and signature dashes. * Covers English, Turkish, German, French, Spanish. * * @module */ export interface ReplyParseResult { /** Just the new content the author wrote. */ text: string; /** Everything after the new content (quoted previous message + sig). */ quoted: string; } /** Strip quoted history and signature; keep just the new content. */ export declare function stripReply(rawText: string): ReplyParseResult;