import type { ApexOptions } from "apexcharts"; import type { CustomThemeProps } from "../../Theme/themeProps"; type Palette = CustomThemeProps["colors"]; /** * Animations are the single biggest cost on a weak device, and ApexCharts re-runs them on * every data change. Gate them on the same signals a browser already exposes rather than * shipping a prop nobody sets: reduced-motion intent, core count, and device memory. */ export declare function prefersLightweightRendering(): boolean; export declare function baseChart(palette: Palette, overrides?: ApexOptions["chart"]): NonNullable; export declare function baseGrid(palette: Palette, horizontal?: boolean): NonNullable; export declare function baseLegend(palette: Palette, position?: ApexLegendPosition): NonNullable; export declare function baseTooltip(palette: Palette): NonNullable; export declare function baseAxisLabels(palette: Palette): { colors: string; fontSize: string; fontFamily: string; }; export type ApexLegendPosition = "top" | "right" | "bottom" | "left"; export {};