import type { TokenType } from './constants'; import type { TokenAttributes } from './type'; export declare class Token { type: `${TokenType}`; name: string; value: string; attrs: TokenAttributes; children: Token[]; closing: Token | null; constructor(type: `${TokenType}`, name: string, value: string, attrs?: TokenAttributes, children?: Token[], closing?: Token); clone(): Token; splitAt(splitAt: Token): Token; }