astro-ghostcms/.pnpm-store/v3/files/63/5526542fb7a2c9919b27b34c35d...

27 lines
770 B
Plaintext
Raw Permalink Normal View History

2024-02-14 14:10:47 +00:00
import { IconifyIcon } from '@iconify/types';
import { IconifyIconBuildResult } from './build.js';
import '../customisations/defaults.js';
import './viewbox.js';
/**
* 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 };