import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; export interface SystemExternalID { type: 'SYSTEM_EXTERNAL_ID'; systemValue: string; } export interface PublicExternalID { type: 'PUBLIC_EXTERNAL_ID'; pubidValue: string; systemValue: string; } export type ExternalID = SystemExternalID | PublicExternalID; /** * The external entity declaration. * See https://www.w3.org/TR/xml/#NT-ExternalID */ declare class ExternalIDParser implements Parser { private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: ExternalID): string; } export default ExternalIDParser; //# sourceMappingURL=ExternalIDParser.d.ts.map