/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as React from 'react';
/**
* Defines a custom template for shape tooltips within the `Diagram` component.
* Use this to customize how tooltips appear when hovering over shapes.
*
* @example
* ```tsx
* import { Diagram, DiagramShapeTooltip } from '@progress/kendo-react-diagram';
*
* const App = () => (
*
*
* {(dataItem) => {dataItem.tooltipText}}
*
*
* );
* ```
*/
export interface DiagramShapeTooltipProps> {
/**
* A render function that receives the hovered shape data item and returns the tooltip content.
*/
children: (dataItem: TDataItem) => React.ReactNode;
}
/**
* Represents the ShapeTooltip component for the Diagram.
*/
declare const DiagramShapeTooltip: React.FunctionComponent;
export { DiagramShapeTooltip };