import type { SimplifiedNode, SimplifiedDesign } from "../extractors/types.js"; /** * Remove all style-related properties from a single node. * Recursively processes children. * * This preserves: * - Node identity (id, name, type) * - Text content (text) * - Component data (componentId, componentProperties) * - Connector endpoints (startNodeId, endNodeId) * - Hierarchy (children) * * @param node - The node to strip styles from * @returns A new node without style properties */ export declare function stripStylesFromNode(node: SimplifiedNode): SimplifiedNode; /** * Remove all style-related data from the entire design. * Clears globalVars.styles and strips styles from all nodes. * * @param design - The full SimplifiedDesign to process * @returns A new design without style data */ export declare function stripStylesFromDesign(design: SimplifiedDesign): SimplifiedDesign; /** * Check if a node has any style properties. * Useful for debugging or selective processing. * * @param node - The node to check * @returns true if the node has any style properties */ export declare function hasStyleProperties(node: SimplifiedNode): boolean; //# sourceMappingURL=style-stripper.d.ts.map