import type { HTMLAttributes } from "react";
/**
* PromptTemplateEditor — a controlled template editor: a `Textarea` plus a
* simple hint area listing available variables and which are used vs missing.
*
* The hint is a lightweight overlay over the plain textarea (M19 ADR D1 —
* parsimony rung 5): variable detection uses the pure `extractVars` helper;
* NO CodeMirror / editor library. "Used" = the variable appears in the current
* value; "missing" = it is used in the value but not declared in `variables`.
*
*
*/
export interface PromptTemplateEditorProps extends Omit, "onChange"> {
/** The template text. */
value: string;
/** Emits the new template text on each edit. */
onChange: (value: string) => void;
/** Variables the caller declares available to this template. */
variables?: string[];
/** Disable editing. */
disabled?: boolean;
}
declare const PromptTemplateEditor: import("react").ForwardRefExoticComponent>;
export { PromptTemplateEditor };