import { type IInsightDefinition, type ISortItem } from "@gooddata/sdk-model";
import { type IBucketItem, type IBucketOfFun, type IExtendedReferencePoint, type IUiConfig } from "../../../interfaces/Visualization.js";
/**
 * Sanitizes measures for geo area chart by removing unsupported features.
 * Area only supports a single color measure, no size measures.
 *
 * @param referencePoint - Reference point to sanitize
 * @returns Sanitized reference point
 * @internal
 */
export declare function sanitizeAreaMeasures(referencePoint: IExtendedReferencePoint): IExtendedReferencePoint;
/**
 * Gets area attribute items from buckets.
 * Filters out date attributes and stacking attributes.
 *
 * @param buckets - All buckets from the reference point
 * @param uiConfig - UI configuration containing bucket item limits
 * @returns Array of area attribute items
 * @internal
 */
export declare function getAreaItems(buckets: IBucketOfFun[], uiConfig: IUiConfig): IBucketItem[];
/**
 * Resolves the preferred textual display form for the provided area item.
 *
 * @param areaItem - Area bucket item
 * @returns Identifier or URI of the textual display form to use for tooltips
 * @internal
 */
export declare function getAreaTooltipText(areaItem: IBucketItem): string | undefined;
/**
 * Gets segment attribute items from buckets.
 *
 * @param buckets - All buckets from the reference point
 * @returns Array of segment attribute items
 * @internal
 */
export declare function getSegmentItems(buckets: IBucketOfFun[]): IBucketItem[];
/**
 * Gets color measure items from buckets.
 *
 * @param buckets - All buckets from the reference point
 * @returns Array of color measure items
 * @internal
 */
export declare function getColorMeasures(buckets: IBucketOfFun[]): IBucketItem[];
/**
 * Creates configured buckets for geo area chart.
 * Distributes location, segment, and color measure items appropriately.
 *
 * @param buckets - All buckets from the reference point
 * @param locationItems - Location attribute items
 * @param segmentItems - Segment attribute items
 * @param colorMeasures - Color measure items
 * @param uiConfig - UI configuration containing bucket item limits
 * @returns Configured buckets array
 * @internal
 */
export declare function createAreaConfiguredBuckets(_buckets: IBucketOfFun[], areaItems: IBucketItem[], segmentItems: IBucketItem[], colorMeasures: IBucketItem[], uiConfig: IUiConfig): IBucketOfFun[];
/**
 * Creates sort items for geo area chart.
 * Sorts by segment attribute if present.
 *
 * @param insight - Insight definition
 * @returns Array of sort items
 * @internal
 */
export declare function createAreaSortForSegment(insight: IInsightDefinition): ISortItem[];
/**
 * Checks if geo area chart has the minimum required data.
 *
 * @param buckets - All buckets from the reference point
 * @returns true if chart has at least a location attribute
 * @internal
 */
export declare function hasAreaMinimumData(buckets: IBucketOfFun[] | unknown[]): boolean;
//# sourceMappingURL=geoAreaBucketHelper.d.ts.map