import type { SimplifiedNode } from "../extractors/types.js"; /** * Simplify an INSTANCE node to keep only semantic data. * Preserves componentId, componentProperties, and text content. * Removes all visual styling properties. * * This is specifically designed for ADO User Story components where: * - componentProperties contains the ADO links and implementation details * - Text content may contain important labels or descriptions * - Visual styling is not relevant for understanding the architecture * * Non-INSTANCE nodes are passed through with recursive child processing. * * @param node - The node to simplify * @returns Simplified node for INSTANCE, or original with processed children */ export declare function simplifyComponentInstance(node: SimplifiedNode): SimplifiedNode; /** * Apply component instance simplification to all nodes in an array. * * @param nodes - Array of SimplifiedNodes to process * @returns Array with simplified component instances */ export declare function simplifyAllComponentInstances(nodes: SimplifiedNode[]): SimplifiedNode[]; /** * Extract all text content from an INSTANCE node and its children. * Useful for getting a flat text representation of a component. * * @param node - The node to extract text from * @returns All text content concatenated */ export declare function extractAllTextFromInstance(node: SimplifiedNode): string; /** * Create an ultra-simplified version of an INSTANCE node. * Returns just the componentProperties and flattened text content. * Use this for maximum context window savings when you only need * the ADO links and text content. * * @param node - The INSTANCE node to flatten * @returns Ultra-simplified node */ export declare function flattenComponentInstance(node: SimplifiedNode): SimplifiedNode; //# sourceMappingURL=component-simplifier.d.ts.map