import { type RuleTestResponse } from '@os-team/lexical-rules'; import type { DataWithOptionsRef, Parser } from './Parser.js'; import type { Content } from './ContentParser.js'; export interface ContentWithAttributes { '#content': Content; '#attrs': Record; } export type ContentItem = Content | ContentWithAttributes; export interface Element { [key: string]: ContentItem | ContentItem[]; } /** * The element. * See https://www.w3.org/TR/xml/#NT-element */ declare class ElementParser implements Parser { private readonly emptyElemTagParser; private readonly tagParser; private readonly rule; constructor(); test(ref: DataWithOptionsRef, pos: number): RuleTestResponse; build(data: Element): string; } export default ElementParser; //# sourceMappingURL=ElementParser.d.ts.map