import * as React from 'react';
import { TreeViewCancellableEventHandler } from "../models/index.js";
export interface TreeItemLabelInputProps {
  value?: string;
  /**
   * Used to determine if the target of keydown or blur events is the input and prevent the event from propagating to the root.
   */
  'data-element'?: 'labelInput';
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
  onKeyDown?: TreeViewCancellableEventHandler<React.KeyboardEvent<HTMLInputElement>>;
  onBlur?: TreeViewCancellableEventHandler<React.FocusEvent<HTMLInputElement>>;
  autoFocus?: true;
  type?: 'text';
}