import { type RuleTestResponse } from '@os-team/lexical-rules'; import type { DataWithOptionsRef, Parser } from './Parser.js'; import { type Prolog } from './PrologParser.js'; import { type Element } from './ElementParser.js'; export type Document = Element & { '#prolog'?: Prolog; }; /** * The document. * See https://www.w3.org/TR/xml/#NT-document */ declare class DocumentParser implements Parser { private readonly prologParser; private readonly elementParser; private readonly miscParser; private readonly rule; constructor(); test(ref: DataWithOptionsRef, pos: number): RuleTestResponse; build(data: Document): string; } export default DocumentParser; //# sourceMappingURL=DocumentParser.d.ts.map