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 CpContent = string | Choice | Seq; export type Cp = CpContent | [CpContent, '?' | '*' | '+']; /** * See https://www.w3.org/TR/xml/#NT-cp */ declare class CpParser implements Parser { private readonly choiceParser; private readonly seqParser; private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: Cp): string; } export default CpParser; //# sourceMappingURL=CpParser.d.ts.map