import { TagPairToken } from './index'; import type { Config, LintError } from '../../base'; import type { AstText, Token } from '../../internal'; /** * ``, `` or `` * * ``或``或`` * @classdesc `{childNodes: [AstText, AstText]}` */ export declare abstract class IncludeToken extends TagPairToken { readonly childNodes: readonly [AstText, AstText]; abstract get firstChild(): AstText; abstract get lastChild(): AstText; get type(): 'include'; /** * @param name 标签名 * @param attr 标签属性 * @param inner 内部wikitext * @param closed 是否封闭 */ constructor(name: string, attr?: string, inner?: string, closed?: string, config?: Config, accum?: Token[]); }