20 lines
340 B
Plaintext
20 lines
340 B
Plaintext
|
/**
|
||
|
* IDs usage:
|
||
|
*
|
||
|
* id="{id}"
|
||
|
* xlink:href="#{id}"
|
||
|
* url(#{id})
|
||
|
*
|
||
|
* From SVG animations:
|
||
|
*
|
||
|
* begin="0;{id}.end"
|
||
|
* begin="{id}.end"
|
||
|
* begin="{id}.click"
|
||
|
*/
|
||
|
/**
|
||
|
* Replace IDs in SVG output with unique IDs
|
||
|
*/
|
||
|
declare function replaceIDs(body: string, prefix?: string | ((id: string) => string)): string;
|
||
|
|
||
|
export { replaceIDs };
|