import type { ToolbarPlacement, ZoomChangeHandler } from '@dynatrace/strato-components-preview/charts';
export type ToolbarInteractionModes = 'zoom' | 'zoom-to-fit' | 'zoom-in' | 'zoom-out' | 'reset' | 'download-data';
/** Props for the ChartInteractions component **/
export interface ChartInteractionsProps {
    /** Callback called when any zoom event has been performed affecting the data timeframe */
    onZoomChange?: ZoomChangeHandler;
}
/** Internal toolbar configuration interface **/
export interface MapToolbarConfig {
    /** When enabled show the toolbar in collapsed state */
    collapsed?: boolean;
    /** When enabled the toolbar can be dragged inside the container */
    draggable?: boolean;
    /** When enabled it defines the initial placement of the Toolbar */
    placement?: ToolbarPlacement;
    /** When enabled the toolbar download button will be shown */
    downloadData?: boolean;
}
/** API config for the chart interactions */
export interface ChartInteractionsConfig {
    /** Handler triggered when there is a change on the time domain caused by a zoom action */
    onZoomChange?: ZoomChangeHandler;
    /** Zoom interaction config */
    zoom?: {
        enabled: boolean;
    };
    /** ZoomToFit interaction config */
    zoomToFit?: {
        enabled: boolean;
    };
}
export type A11yToolbarTabIndex = Record<string, number>;
