import { BuildContext, Widget } from "@meursyphus/flitter"; import CartesianChartContextWidget from "../../../common/CartesianChart/CartesianChartContextWidget"; import type { Custom, Dependencies } from "../types"; export type BarProps = { backgroundColor: string; index: number; value: number; label: string; legend: string; direction: "horizontal" | "vertical"; }; export type BarConfig = { thickness?: number; }; export declare class Bar extends CartesianChartContextWidget { private props; constructor(props: BarProps); build(context: BuildContext): Widget; } declare const _default: (props: BarProps) => Bar; export default _default;