import { type IntlShape } from "react-intl"; import { type ITheme } from "@gooddata/sdk-model"; import { type IChartOptions, type ISeriesItem } from "../typings/unsafe.js"; export declare const RESPONSIVE_ITEM_MIN_WIDTH = 200; export declare const RESPONSIVE_VISIBLE_ROWS = 2; export declare const FLUID_PAGING_WIDTH = 30; export declare const LEGEND_PADDING = 12; export declare const ITEM_HEIGHT = 20; export declare const SKIPPED_LABEL_TEXT = "..."; export declare const UTF_NON_BREAKING_SPACE = "\u00A0"; export declare function calculateFluidLegend(seriesCount: number, containerWidth: number): { hasPaging: boolean; itemWidth: number; visibleItemsCount: number; }; export declare function calculateStaticLegend(seriesCount: number, containerHeight: number): { hasPaging: boolean; visibleItemsCount: number; }; export declare function groupSeriesItemsByType(series: ISeriesItem[]): { [key: string]: ISeriesItem[]; }; export declare function getComboChartSeries(series: any[]): any[]; export declare function createDualAxesSeriesMapper(chartType: string | undefined): (series: any[]) => any[]; export declare function transformToDualAxesSeries(series: any[], chartType: string | undefined): any[]; export declare function isStackedChart(chartOptions: IChartOptions): boolean; export declare function createWaterfallLegendItems(chartOptions: IChartOptions, intl: IntlShape, theme: ITheme | undefined): ({ color: string; borderColor: string; name: string; legendIndex: number; } | { color: import("../typings/unsafe.js").IPatternObject; borderColor: string; name: string; legendIndex: number; } | { borderColor?: undefined; color: string; name: string; legendIndex: number; })[]; //# sourceMappingURL=legendHelpers.d.ts.map