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.**
27 lines (26 loc) • 791 B
TypeScript
import { HTMLElementTree } from './html-parse.use-case';
export declare const changeClassNameToShortGen: (html: string, css: string) => {
parsed: HTMLElementTree;
values: {
[key: string]: {
value: string;
parent: string;
};
};
mappingValue: Record<string, string>;
};
export declare const changeClassNameToShortGenRaw: (raw: any, values: any, mappingValue: Record<string, string>) => {
replaceRaw: any;
elements: string[];
};
export declare const parseHtmlToShortGen: (html: string, cssText: string) => {
parsed: HTMLElementTree;
allClasses: string[];
values: {
[key: string]: {
value: string;
parent: string;
};
};
};
export declare function generateUniqueId(): string;