id.d.ts 340 B

12345678910111213141516171819
  1. /**
  2. * IDs usage:
  3. *
  4. * id="{id}"
  5. * xlink:href="#{id}"
  6. * url(#{id})
  7. *
  8. * From SVG animations:
  9. *
  10. * begin="0;{id}.end"
  11. * begin="{id}.end"
  12. * begin="{id}.click"
  13. */
  14. /**
  15. * Replace IDs in SVG output with unique IDs
  16. */
  17. declare function replaceIDs(body: string, prefix?: string | ((id: string) => string)): string;
  18. export { replaceIDs };