import { ExtendableRichTreeViewStore } from "../../RichTreeViewStore/RichTreeViewStore.mjs";
import { TreeViewItemId } from "../../../models/index.mjs";
export declare class TreeViewLabelEditingPlugin {
  private store;
  constructor(store: ExtendableRichTreeViewStore<any, any>);
  buildPublicAPI: () => {
    setEditedItem: (itemId: TreeViewItemId | null) => void;
    updateItemLabel: (itemId: TreeViewItemId, label: string) => void;
  };
  /**
   * Set which item is currently being edited.
   * You can pass `null` to exit editing mode.
   * @param {TreeViewItemId | null} itemId The id of the item to edit, or `null` to exit editing mode.
   */
  setEditedItem: (itemId: TreeViewItemId | null) => void;
  /**
   * Used to update the label of an item.
   * @param {TreeViewItemId} itemId The id of the item to update the label of.
   * @param {string} label The new label of the item.
   */
  updateItemLabel: (itemId: TreeViewItemId, label: string) => void;
}