import type { HTMLAttributes } from "react";
import { type DiffSectionCommon } from "../diff-view/diff-section.js";
import { type PromptSnapshot } from "./to-diff-text.js";
/**
* PromptVersionDiff — diffs two prompt versions (M14 ADR D3). Normalizes each
* snapshot's template (string passthrough; chat array → `role: content` text)
* and config (pretty JSON) to plain text, then composes `DiffView` for content
* and, when present, config. Zero new dependency — reuses the DS diff primitive.
*
* The config diff is omitted honestly when both versions have no config, rather
* than rendering an empty "No changes" table nobody asked for.
*
*
*/
export type PromptVersionDiffProps = Omit, "children"> & DiffSectionCommon & {
oldPrompt: PromptSnapshot;
newPrompt: PromptSnapshot;
};
declare function PromptVersionDiff(props: PromptVersionDiffProps): import("react").JSX.Element;
export { PromptVersionDiff };