import { type DataRef, type RuleTestResponse } from '@os-team/lexical-rules'; import type { Parser } from './Parser.js'; export interface RequiredDefaultDecl { type: 'REQUIRED'; } export interface ImpliedDefaultDecl { type: 'IMPLIED'; } export interface FixedDefaultDecl { type: 'FIXED'; attValue: string; } export type DefaultDecl = RequiredDefaultDecl | ImpliedDefaultDecl | FixedDefaultDecl; /** * The attribute default declaration. * See https://www.w3.org/TR/xml/#NT-DefaultDecl */ declare class DefaultDeclParser implements Parser { private readonly rule; constructor(); test(ref: DataRef, pos: number): RuleTestResponse; build(data: DefaultDecl): string; } export default DefaultDeclParser; //# sourceMappingURL=DefaultDeclParser.d.ts.map