UNPKG

xobuilder-extractor

Version:

> **A sophisticated web application that converts HTML and CSS to JSON layout through an intelligent multi-step flow process with AI validation.**

14 lines (13 loc) 510 B
import { HtmlParsedResult } from '../../utils/get-value-html-parse'; export type HTMLElementTree = { [selector: string]: HTMLElementContent; }; export type HTMLElementContent = { text?: string; src?: string; svg?: string; overlay?: string; [selector: string]: HTMLElementContent | string | undefined; }; export declare function parseHtmlUC(html: string, cssText?: string): HtmlParsedResult; export declare function parseHtmlBodyContent(html: string, cssText?: string): HTMLElementTree;