import { BuildContext, EdgeInsets, Widget } from "@meursyphus/flitter"; import CartesianChartContextWidget from "../../../common/CartesianChart/CartesianChartContextWidget"; import type { Custom } from "../types"; export type TooltipProps = { value: number; label: string; legend: { name: string; color: string; }; margin: EdgeInsets; }; export type TooltipConfig = { margin?: EdgeInsets; }; export declare class Tooltip extends CartesianChartContextWidget { protected props: TooltipProps; constructor(props: TooltipProps); build(context: BuildContext): Widget; } declare const _default: (props: TooltipProps) => Tooltip; export default _default;