/**
* @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 connection tooltips within the `Diagram` component.
* Use this to customize how tooltips appear when hovering over connections.
*
* @example
* ```tsx
* import { Diagram, DiagramConnectionTooltip } from '@progress/kendo-react-diagram';
*
* const App = () => (
*
*
* {(dataItem) => {dataItem.tooltipText}}
*
*
* );
* ```
*/
export interface DiagramConnectionTooltipProps> {
/**
* A render function that receives the hovered connection data item and returns the tooltip content.
*/
children: (dataItem: TDataItem) => React.ReactNode;
}
/**
* Represents the ConnectionTooltip component for the Diagram.
*/
declare const DiagramConnectionTooltip: React.FunctionComponent;
export { DiagramConnectionTooltip };