import { Token } from './index'; import { CommentToken } from './nowiki/comment'; import type { Config, LintError } from '../base'; import type { AstText, AttributesToken, ExtToken } from '../internal'; /** * `` * @classdesc `{childNodes: (AstText|CommentToken)[]}` */ export declare abstract class CommentedToken extends Token { readonly name: 'hiero'; readonly childNodes: readonly (CommentToken | AstText)[]; abstract get firstChild(): CommentToken | AstText | undefined; abstract get lastChild(): CommentToken | AstText | undefined; abstract get nextSibling(): undefined; abstract get previousSibling(): AttributesToken | undefined; abstract get parentNode(): ExtToken | undefined; get type(): 'ext-inner'; /** @class */ constructor(wikitext?: string, config?: Config, accum?: Token[]); }