/** * @fileoverview AggressiveMerger (SPEC Section 6.3) * * Maximum linking, semantic matching. * * Per M-INV-*: * - M-INV-1: Result graph is a valid DAG * - M-INV-2: C-ABS-1 is preserved * - M-INV-3: prefixNodeIds=true => no ID collisions * - M-INV-4: Overlap input triggers semantic deduplication * - M-INV-5: Result graph node IDs are globally unique * * @module strategies/merge/aggressive */ import type { IntentGraph } from "../../core/types/intent-graph.js"; import type { MergeStrategy, MergeOptions } from "../../core/interfaces/merger.js"; /** * Maximum linking, semantic matching. * * Per SPEC Section 6.3: * - Uses aggressive cross-chunk linking * - Performs semantic matching for deduplication * - Links related entities across chunks */ export declare class AggressiveMerger implements MergeStrategy { readonly name = "AggressiveMerger"; merge(graphs: readonly IntentGraph[], options?: MergeOptions): IntentGraph; /** * Add aggressive cross-chunk links. * Links nodes that reference similar entities. */ private addAggressiveCrossChunkLinks; /** * Extract entity references from a node. */ private extractEntities; /** * Semantic deduplication with fuzzy matching. */ private semanticDeduplicate; /** * Generate semantic key for fuzzy matching. */ private getSemanticKey; /** * Normalize args for comparison. */ private normalizeArgs; } //# sourceMappingURL=aggressive.d.ts.map