export type ChartType = 'pie' | 'donut' | 'line' | 'bar' | 'bar-horizontal' | 'line-bar';
export interface ChartDatasetInput {
    label: string;
    data: number[];
    type?: 'line' | 'bar';
    color?: string;
}
export interface BuildOptionCtx {
    palette: string[];
    legendColor: string;
    fontFamily: string;
    /** Resolved divider colour for axis lines, ticks and grid split lines (theme-aware). */
    axisLineColor: string;
}
interface BuildProps {
    type: ChartType;
    datasets: ChartDatasetInput[];
    labels: string[];
}
export declare function buildChartOption(props: BuildProps, ctx: BuildOptionCtx): Record<string, any>;
export {};
