import { Alignment, Widget, BuildContext } from "@meursyphus/flitter"; import { Scale } from "../util"; import CartesianChartContextWidget from "../CartesianChartContextWidget"; import { Custom } from "../types"; export type ChartConfig = { scale?: Scale; alignment?: Alignment; foregroundAdditions?: Widget[]; backgroundAdditions?: Widget[]; }; export declare class Chart = Custom> extends CartesianChartContextWidget { build(context: BuildContext): Widget; getXAnxYLabels({ scale, labels, direction, }: { scale: Scale; labels: string[]; direction: "horizontal" | "vertical"; }): { xLabels: string[]; yLabels: string[]; }; getDirection(context: BuildContext): "horizontal" | "vertical"; } declare const _default: () => Chart; export default _default;