CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
parse.d.ts22 linesDownload Raw Back to svg
1import { IconifyIconBuildResult } from "./build.js";2import { IconifyIcon } from "@iconify/types";3/**4 * Parsed SVG content5 */6interface ParsedSVGContent {7  attribs: Record<string, string>;8  body: string;9}10/**11 * Extract attributes and content from SVG12 */13declare function parseSVGContent(content: string): ParsedSVGContent | undefined;14/**15 * Convert parsed SVG to IconifyIconBuildResult16 */17declare function buildParsedSVG(data: ParsedSVGContent): IconifyIconBuildResult | undefined;18/**19 * Convert parsed SVG to IconifyIcon20 */21declare function convertParsedSVG(data: ParsedSVGContent): IconifyIcon | undefined;22export { ParsedSVGContent, buildParsedSVG, convertParsedSVG, parseSVGContent };
basant307/AI_Governance_Project · CoolFace