/// /** * Props for the InlineTextEditor component. */ export interface InlineTextEditorProps { /** Current text value */ value: string; /** Whether the editor is in editing mode */ isEditing: boolean; /** Called when text is committed (on blur / Enter) */ onCommit: (newValue: string) => void; /** Called to request entering/leaving edit mode */ onEditingChange: (editing: boolean) => void; /** Called when editing is cancelled (on Escape). May be undefined if onEditingChange handles it. */ onCancel?: () => void; /** Placeholder text when value is empty */ placeholder?: string; } /** * Inline text editor for editable titles. * Renders as plain text when not editing; switches to an input when in edit mode. * Supports double-click to enter edit mode, Enter/blur to commit, Escape to cancel. * * @internal */ export declare function InlineTextEditor({ value, isEditing, onCommit, onEditingChange, onCancel, placeholder, }: InlineTextEditorProps): React.ReactElement;