First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { IconifyIconBuildResult } from "./build.js";
import { IconifyIcon } from "@iconify/types";
/**
* Parsed SVG content
*/
interface ParsedSVGContent {
attribs: Record<string, string>;
body: string;
}
/**
* Extract attributes and content from SVG
*/
declare function parseSVGContent(content: string): ParsedSVGContent | undefined;
/**
* Convert parsed SVG to IconifyIconBuildResult
*/
declare function buildParsedSVG(data: ParsedSVGContent): IconifyIconBuildResult | undefined;
/**
* Convert parsed SVG to IconifyIcon
*/
declare function convertParsedSVG(data: ParsedSVGContent): IconifyIcon | undefined;
export { ParsedSVGContent, buildParsedSVG, convertParsedSVG, parseSVGContent };