import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; import { type Choice } from './ChoiceParser.js'; import { type Seq } from './SeqParser.js'; type ChildrenContent = Choice | Seq; export type Children = ChildrenContent | [ChildrenContent, '?' | '*' | '+']; /** * The custom content of an element. * See https://www.w3.org/TR/xml/#NT-children */ declare class ChildrenParser implements Parser { private readonly choiceParser; private readonly seqParser; private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: Children): string; } export default ChildrenParser; //# sourceMappingURL=ChildrenParser.d.ts.map