import type { WidgetProps } from '../../../../domains/widgets/components/widget/types'; import type { JtdActions, JtdWidgetTransformConfig } from './jtd-types.js'; /** * Adds the pointer cursor to chart widgets that Jump To Dashboard (JTD) applies to at run time. * * The cursor is set through the widget's `onBeforeRender` chain, so it applies to charts rendered * with Highcharts; the widget's own `onBeforeRender` runs after it and keeps the last word. Charts * that do not render through Highcharts options (scatter map, area map, indicator, KPI, table) get * no JTD cursor. * * @param widgetProps - The widget props. * @returns Updated widget props with the pointer cursor, or the same props for widgets that are * not charts JTD applies to. * @internal */ export declare const addPointerCursorToChart: (widgetProps: WidgetProps) => WidgetProps; /** * Apply JTD click navigation for chart widgets * * @param widgetProps - The widget props * @param config - The JTD configuration and context * @param actions - The action functions * @returns Updated widget props with click navigation * @internal */ export declare const applyClickNavigationForChart: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, actions: Pick) => WidgetProps; /** * Apply JTD click navigation for pivot table widgets * * @param widgetProps - The widget props * @param config - The JTD configuration and context * @param actions - The action functions * @returns Updated widget props with click navigation * @internal */ export declare const applyClickNavigationForPivot: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, actions: Pick) => WidgetProps; /** * Apply JTD click navigation for text widgets * * @param widgetProps - The widget props * @param config - The JTD configuration and context * @param actions - The action functions for modal operations * @returns Updated widget props with click navigation * @internal */ export declare const applyClickNavigationForText: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, actions: Pick) => WidgetProps; /** * Apply JTD right-click navigation for chart widgets * * @param widgetProps - The widget props * @param config - The JTD configuration and context * @param actions - The action functions * @returns Updated widget props with right-click navigation * @internal */ export declare const applyRightClickNavigation: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, actions: Pick) => WidgetProps; /** * Apply JTD right-click navigation for pivot table widgets * * @param widgetProps - The widget props * @param config - The JTD configuration and context * @param actions - The action functions * @returns Updated widget props with right-click navigation * @internal */ export declare const applyRightClickNavigationForPivot: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, actions: Pick) => WidgetProps; /** * Applies hyperlink styling to pivot table cells for PIVOT_LINK navigation * @param widgetProps - Pivot table widget props * @param config - JTD configuration * @param hyperlinkColor * @returns Updated widget props with hyperlink styling * @internal */ export declare const applyPivotLinkStyling: (widgetProps: WidgetProps, config: JtdWidgetTransformConfig, hyperlinkColor?: string) => WidgetProps; /** * Add JTD icon to the header of widgets that Jump To Dashboard (JTD) applies to at run time. * * @param widgetProps - The widget props. * @returns Updated widget props with JTD icon in header, or the same props for widgets JTD does not * apply to. * @internal */ export declare const addJtdIconToHeader: (widgetProps: WidgetProps) => WidgetProps;