import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; export interface XMLDecl { version: string; encoding?: string; standalone?: boolean; } /** * The XML declaration. * See https://www.w3.org/TR/xml/#NT-XMLDecl */ declare class XMLDeclParser implements Parser { private readonly versionInfoParser; private readonly encodingDeclParser; private readonly sdDeclParser; private rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: XMLDecl): string; } export default XMLDeclParser; //# sourceMappingURL=XMLDeclParser.d.ts.map