import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import { type Parser } from './Parser.js'; import { type Mixed } from './MixedParser.js'; import { type Children } from './ChildrenParser.js'; interface Empty { type: 'EMPTY'; } interface Any { type: 'ANY'; } export type ContentSpec = Empty | Any | Mixed | Children; /** * The content of an element. * See https://www.w3.org/TR/xml/#NT-contentspec */ declare class ContentSpecParser implements Parser { private readonly mixedParser; private readonly childrenParser; private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: ContentSpec): string; } export default ContentSpecParser; //# sourceMappingURL=ContentSpecParser.d.ts.map