import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; import { type ElementDecl } from './ElementDeclParser.js'; import { type AttlistDecl } from './AttlistDeclParser.js'; import { type EntityDecl } from './EntityDeclParser.js'; import { type NotationDecl } from './NotationDeclParser.js'; import { type PI } from './PIParser.js'; export type MarkupDecl = ElementDecl | AttlistDecl | EntityDecl | NotationDecl | PI | undefined; /** * The markup declaration. * See https://www.w3.org/TR/xml/#NT-markupdecl */ declare class MarkupDeclParser implements Parser { private readonly elementDeclParser; private readonly attlistDeclParser; private readonly entityDeclParser; private readonly notationDeclParser; private readonly piPraser; private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: MarkupDecl): string; } export default MarkupDeclParser; //# sourceMappingURL=MarkupDeclParser.d.ts.map