import { type IAttributeDescriptor, type IResultHeader } from "@gooddata/sdk-model"; import { type DataViewFacade } from "@gooddata/sdk-ui"; import { type IAvailableLegends, type IGeoLegendItem } from "../../../types/common/legends.js"; import { type IPushpinGeoData } from "../../../types/geoData/pushpin.js"; /** * Transforms data view into pushpin geo data structure * * @remarks * This is the main data transformation function that extracts and structures * all geo-related data from the execution result * * @param dv - Data view facade * @param emptyHeaderString - String to use for empty headers * @param nullHeaderString - String to use for null headers * @returns Structured geo data * * @internal */ export declare function transformPushpinData(dv: DataViewFacade, emptyHeaderString: string, nullHeaderString: string): IPushpinGeoData; /** * Determines which legends should be available based on pushpin data * * @remarks * Analyzes geo data to determine which legend types are applicable: * - Category legend: When segments exist * - Color legend: When color measure exists with varying values * - Size legend: When size measure exists with varying values * * @param categoryItems - Category legend items * @param geoData - Geo data structure * @returns Object indicating which legends are available * * @internal */ export declare function getPushpinAvailableLegends(categoryItems: IGeoLegendItem[], geoData: IPushpinGeoData): IAvailableLegends; /** * Parses GeoJSON properties from feature * * @remarks * Extracts and parses location, color, size, and segment properties from GeoJSON feature * * @param properties - GeoJSON properties object * @returns Parsed properties object * * @internal */ export declare function parsePushpinGeoProperties(properties: GeoJSON.GeoJsonProperties): GeoJSON.GeoJsonProperties; /** * Attribute information with header items */ export type IPushpinAttributeInfo = IAttributeDescriptor["attributeHeader"] & { items: IResultHeader[]; }; /** * Geo attributes in dimension */ export interface IPushpinAttributesInDimension { locationAttribute: IPushpinAttributeInfo; segmentByAttribute: IPushpinAttributeInfo | undefined; tooltipTextAttribute: IPushpinAttributeInfo | undefined; } /** * Finds geo attributes in the data view dimension * * @param dv - Data view facade * @param geoData - Geo data structure * @returns Geo attributes information * * @internal */ export declare function findPushpinAttributesInDimension(dv: DataViewFacade, geoData: IPushpinGeoData): IPushpinAttributesInDimension; //# sourceMappingURL=transformation.d.ts.map