import { NowikiBaseToken } from './base'; import type { Config, LintError } from '../../base'; import type { Token } from '../../internal'; /** * invisible HTML comment * * HTML注释,不可见 */ export declare abstract class CommentToken extends NowikiBaseToken { closed: boolean; get type(): 'comment'; /** comment content / 内部文本 */ get innerText(): string; set innerText(text: string); /** @param closed 是否闭合 */ constructor(wikitext: string, closed: boolean, config?: Config, accum?: Token[]); cloneNode(): this; }