import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; import { type XMLDecl } from './XMLDeclParser.js'; import { type Misc } from './MiscParser.js'; import { type DoctypeDecl } from './DoctypeDeclParser.js'; export interface Prolog { xml?: XMLDecl; misc?: Misc[]; doctype?: DoctypeDecl; } /** * The prolog. * See https://www.w3.org/TR/xml/#NT-prolog */ declare class PrologParser implements Parser { private readonly xmlDeclParser; private readonly miscParser; private readonly doctypeDeclParser; private rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: Prolog): string; } export default PrologParser; //# sourceMappingURL=PrologParser.d.ts.map