import type { ModuleCommandResult, ModuleLifecycleContext } from "../../../contracts/module-contract.js";
import type { OpenedPlanningStores } from "../persistence/planning-open.js";
import type { TaskStore } from "../persistence/store.js";
import type { TaskStatus } from "../types.js";
export type SimilarityMatch = {
    taskId: string;
    status: TaskStatus;
    title: string;
    evidenceKey: string | null;
    similarityScore: number;
    reasons: string[];
};
export type SimilarityCluster = {
    clusterId: string;
    evidenceKey: string | null;
    matches: SimilarityMatch[];
};
export type DedupeTriageRecommendation = {
    action: "accept" | "reject" | "merge-review" | "defer";
    rationale: string;
    linkedTaskIds: string[];
    remediationCommand?: string;
};
export declare function buildImprovementDedupeExplain(ctx: ModuleLifecycleContext, planning: OpenedPlanningStores, store: TaskStore, args: Record<string, unknown>): Promise<ModuleCommandResult>;
