import { Widget, BuildContext, EdgeInsets } from "@meursyphus/flitter"; import { Font } from "../types"; import CartesianChartContextWidget from "../CartesianChartContextWidget"; export type DataLabelProps = { index: number; value: number; label: string; legend: string; }; export type DataLabelConfig = { font?: Font; backgroundColor?: string; visible?: boolean; margin?: EdgeInsets; padding?: EdgeInsets; }; export declare class DataLabel extends CartesianChartContextWidget { private props; constructor(props: DataLabelProps); build(context: BuildContext): Widget; } declare const _default: (props: DataLabelProps) => DataLabel; export default _default;