import { BaseXform } from "../base-xform.js"; import { CommentXform } from "./comment-xform.js"; interface CommentsModel { comments: any[]; } declare class CommentsXform extends BaseXform { map: { [key: string]: CommentXform; }; parser: any; /** Authors collected while parsing the element. */ private _authors; /** Whether we are currently inside the element. */ private _inAuthors; /** Whether we are currently inside an element (collecting text). */ private _inAuthor; /** Accumulator for the current text content. */ private _currentAuthor; constructor(); render(xmlStream: any, model?: CommentsModel): void; parseOpen(node: any): boolean; parseText(text: string): void; parseClose(name: string): boolean; static COMMENTS_ATTRIBUTES: { xmlns: string; }; } export { CommentsXform };