import type { SemanticLayoutGraph } from '../vein/SemanticLayoutGraph.js'; import type { InferenceResult, TruncationInfo } from '../vein/types.js'; import type { AnalysisContext } from '../../domain/types/context.js'; /** * Get or analyze a file and return the raw graph + inference + truncation * for serialization purposes (snapshot_layout_graph tool). * This bypasses the BoundaryGapReport conversion and returns the raw data. */ export declare function getOrAnalyzeForSnapshot(ctx: AnalysisContext): { graph: SemanticLayoutGraph; inference: InferenceResult; truncation: TruncationInfo; }; /** * Clear the analysis cache entirely. */ export declare function clearCache(): void; /** * Get the full component tree as an ASCII diagram with annotations. */ export declare function getComponentTree(ctx: AnalysisContext): string; /** * Get a screen complexity profile (BOM). */ export declare function getScreenProfile(ctx: AnalysisContext): string; /** * Trace a component's import chain from usage to source definition. */ export declare function getImportChain(ctx: AnalysisContext): string; /** * Scan a file for spacing values not in the design token whitelist. */ export declare function getTokenDeviations(ctx: AnalysisContext): string; /** * Find .map() inside .map() — nested list anti-pattern. */ export declare function getNestedLists(ctx: AnalysisContext): string; /** * v2.0.0: Audit spacing rhythm — contextual gap validation. * * Replaces the v1.1.0 simple inner_gap < outer_gap check with * the Dynamic Rhythm Hierarch: * - Intra-Section (Score > 6): Target 8px, flag if > 8px * - Inter-Section (Score < 4): Target 16px, flag if < 16px * - Boundary Rule: Last child must have zero marginBottom */ export declare function getRhythmAudit(ctx: AnalysisContext): string; /** * v2.0.0: Audit semantic proximity — scoring + grouping. * * Replaces the v1.1.0 simple prefix-matching with: * - 3-variable Semantic Scoring (Lexical 40%, Prop DNA 30%, Visual 30%) * - Rule of Three grouping suggestions * - Foundation Check blocking */ export declare function getProximityAudit(ctx: AnalysisContext): string; export declare function getAbsoluteOverlaps(ctx: AnalysisContext): string; //# sourceMappingURL=VeinToolService.d.ts.map