import { TagToken } from './index'; import type { Config, LintError } from '../../base'; import type { AttributesParentBase } from '../../mixin/attributesParent'; import type { Token, AttributesToken } from '../../internal'; export interface HtmlToken extends AttributesParentBase { } /** * HTML tag * * HTML标签 * @classdesc `{childNodes: [AttributesToken]}` */ export declare abstract class HtmlToken extends TagToken { #private; readonly name: string; readonly childNodes: readonly [AttributesToken]; abstract get firstChild(): AttributesToken; abstract get lastChild(): AttributesToken; get type(): 'html'; /** whether to be self-closing / 是否自封闭 */ get selfClosing(): boolean; /** * @param name 标签名 * @param attr 标签属性 * @param closing 是否闭合 * @param selfClosing 是否自封闭 */ constructor(name: string, attr: AttributesToken, closing: boolean, selfClosing: boolean, config?: Config, accum?: Token[]); }