import type { TFunction } from 'i18next'; import type { NumericParameterDef } from './anamnesis-types'; export interface TargetEditorProps { def: NumericParameterDef; /** The host's own label for the metric, for the trigger's accessible name. */ label: string; /** The committed target, or `null` when none is set. */ committed: number | null; /** The current-value line ("Now 74.5 kg"), reused as the form's context. */ nowLabel: string; t: TFunction; onCommit: (target: number | null) => void; } /** The edit affordance: a labelled button on the tile that opens a small form. * The draft is local and discarded on dismiss — nothing is committed until * Save, which is the tile's committed/dirty boundary. */ export declare function TargetEditor({ def, label, committed, nowLabel, t, onCommit, }: TargetEditorProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=anamnesis-target-editor.d.ts.map