foreign-content.d.ts 623 B

123456789
  1. import { TAG_ID as $, NS } from './html.js';
  2. import type { TagToken, Attribute } from './token.js';
  3. export declare const SVG_TAG_NAMES_ADJUSTMENT_MAP: Map<string, string>;
  4. export declare function causesExit(startTagToken: TagToken): boolean;
  5. export declare function adjustTokenMathMLAttrs(token: TagToken): void;
  6. export declare function adjustTokenSVGAttrs(token: TagToken): void;
  7. export declare function adjustTokenXMLAttrs(token: TagToken): void;
  8. export declare function adjustTokenSVGTagName(token: TagToken): void;
  9. export declare function isIntegrationPoint(tn: $, ns: NS, attrs: Attribute[], foreignNS?: NS): boolean;