/** * CLI Command: lex dedupe * * Detects and consolidates duplicate frames based on similarity scoring. * Supports dry-run mode to preview duplicates without modifying the database. */ import { type FrameStore } from "../../memory/store/index.js"; export interface DedupeOptions { /** Show what would be consolidated without making changes */ dryRun?: boolean; /** Similarity threshold (0.0 - 1.0) */ threshold?: number; /** Automatically consolidate without prompting */ auto?: boolean; /** Show duplicate candidates */ showCandidates?: boolean; /** Output in JSON format */ json?: boolean; } /** * Execute the 'lex dedupe' command * Detects and consolidates duplicate frames * * @param options - Command options * @param frameStore - Optional FrameStore for dependency injection */ export declare function dedupe(options?: DedupeOptions, frameStore?: FrameStore): Promise;