IOweb/node_modules/@iconify/tools/lib/optimise/figma.d.cts
2026-07-03 15:07:38 -05:00

14 lines
485 B
TypeScript

import { SVG } from '../svg/index.cjs';
import 'cheerio';
import '@iconify/types';
import '@iconify/utils/lib/customisations/defaults';
/**
* Removes clip path from SVG, which Figma and Penpot add to icons that might have overflowing elements.
* Also removes mess generated by Penpot
*
* Function was originally designed for Figma only, but later added support for Penpot
*/
declare function removeFigmaClipPathFromSVG(svg: SVG): boolean;
export { removeFigmaClipPathFromSVG };