import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; import { type ExternalID } from './ExternalIDParser.js'; import { type IntSubset } from './IntSubsetParser.js'; export interface DoctypeDecl { name: string; externalID?: ExternalID; intSubset?: IntSubset; } /** * The document type definition. * See https://www.w3.org/TR/xml/#NT-doctypedecl */ declare class DoctypeDeclParser implements Parser { private readonly externalIDParser; private readonly intSubsetParser; private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: DoctypeDecl): string; } export default DoctypeDeclParser; //# sourceMappingURL=DoctypeDeclParser.d.ts.map