import type { ReactNode } from 'react'; import { InternalChartType } from '@shopify/polaris-viz-core'; import type { DataType, BoundingRect, DataSeries, ChartType } from '@shopify/polaris-viz-core'; import type { ScaleBand, ScaleLinear } from 'd3-scale'; import type { Margin } from '../../types'; interface BaseProps { chartBounds: BoundingRect; chartType: InternalChartType; focusElementDataType: DataType; getMarkup: (index: number) => ReactNode; margin: Margin; parentElement: SVGSVGElement | null; bandwidth?: number; data?: DataSeries[]; forceActiveIndex?: number | null; onIndexChange?: (index: number | null) => void; id?: string; longestSeriesIndex?: number; type?: ChartType; xScale?: ScaleLinear | ScaleBand; yScale?: ScaleLinear; } interface TooltipWrapperProps extends BaseProps { usePortal?: boolean; } export declare function TooltipWrapper({ usePortal, ...props }: TooltipWrapperProps): JSX.Element; export {}; //# sourceMappingURL=TooltipWrapper.d.ts.map