import { type IColorPalette } from "@gooddata/sdk-model"; import { type IColorAssignment, type IPushData } from "@gooddata/sdk-ui"; import { type IColorStrategy } from "@gooddata/sdk-ui-vis-commons"; import { type IAvailableLegends } from "../../types/common/legends.js"; import { type GeoLayerType } from "../../types/layers/index.js"; interface ILegendContext { availableLegends: IAvailableLegends; hasAttributeOnlyLegend?: boolean; } /** * Minimal props interface required for pushData functionality * * @internal */ interface IPushDataProps { pushData?: (data: IPushData) => void; } interface IUseGeoPushDataConfig { useProps: () => TProps; useLegendContext: () => TLegendContext; geoLayerType: GeoLayerType; } export declare function sortColorAssignmentsAlphabetically(colorAssignments: IColorAssignment[]): IColorAssignment[]; /** * Shared implementation for Analytical Designer pushData updates. * * @internal */ export declare function useGeoPushData(colorStrategy: IColorStrategy | null, colorPalette: IColorPalette, { useProps, useLegendContext, geoLayerType }: IUseGeoPushDataConfig): void; export {}; //# sourceMappingURL=useGeoPushData.d.ts.map