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.**
36 lines (35 loc) • 940 B
TypeScript
interface StylesResult {
css: string;
properties?: StyleProperties;
accumulateNumber: number;
}
interface StyleProperties {
"background-image": string | null;
"background-video": string | null;
"background-overlay": string | null;
icon?: string;
}
export interface GetStylesInput {
type: string;
html: string;
css: string;
selector: string;
props?: Record<string, string>;
htmlParsedStructure?: Record<string, any>;
}
export interface AdditionalProperties {
image?: string;
carouselNavigation?: {
next?: string;
prev?: string;
};
carouselPerView?: number;
hasIcon?: boolean;
}
export interface GetStylesAEPInput {
type: string;
cssText: string;
additionalProperties?: AdditionalProperties;
}
export declare const getStylesUC: ({ type, html, css: cssText, selector, props, htmlParsedStructure, }: GetStylesInput) => StylesResult;
export {};