16 lines
434 B
TypeScript
16 lines
434 B
TypeScript
import { SVG } from './index.mjs';
|
|
import { CheckBadTagsOptions } from './cleanup/bad-tags.mjs';
|
|
import 'cheerio';
|
|
import '@iconify/types';
|
|
import '@iconify/utils/lib/customisations/defaults';
|
|
|
|
/**
|
|
* Options
|
|
*/
|
|
type CleanupSVGOptions = CheckBadTagsOptions;
|
|
/**
|
|
* Clean up SVG before parsing/optimising it
|
|
*/
|
|
declare function cleanupSVG(svg: SVG, options?: CleanupSVGOptions): void;
|
|
|
|
export { type CleanupSVGOptions, cleanupSVG };
|