import { GroupDataPoint, DataPoint } from '../../../../core/types/data-point.js'; import { DimensionXYPoint } from '../../../types/categorical-bar-chart-data.js'; import { Layout } from '../../../types/categorical-bar-chart.js'; /** * Maps a dimension object to a DataPoint object with modified properties. * @param dimension - The dimension object to be mapped. * @returns The mapped DataPpoint object. */ export declare const mapToDataPoint: (dimension: DimensionXYPoint) => DataPoint; /** * Filters the data points that would fall outside the charts, but inside the overlays area * @param chartLimit - * @param coordinate - */ export declare const filterOutOfChartBounds: (chartLimit: number, coordinate: "x" | "y") => (dimension: DataPoint) => boolean; /** * Get groupDataPoints related to the dimension id provided by parameter * * @param groupDataPoints - groupDataPoints to search by * @param dimensionId - search by id * @returns groupDataPoint related to dimensionId */ export declare function getGroupDataPointsBy(groupDataPoints: GroupDataPoint, dimensionId: string): GroupDataPoint; /** * Generate groupDataPoints base on DimensionXYPoint provided by param. * @param points - dimensionXYPoints that will be use to generate the group data points. * @param isGroupAllowed - toggle to allow group functionality. wont be necessary for all cases. * @param layout - layout orientation of the categorical bar chart * @param chartLimit - chart limit, which is the chart height for vertical orientation and chart width for horizontal orientation * @returns groupDataPoint */ export declare function generateGroupDataPoints(points: DimensionXYPoint[], isGroupAllowed: boolean, layout: Layout, chartLimit: number): GroupDataPoint;