import { type IDataVisualizationProps } from "@gooddata/sdk-ui"; import { type GeoLayerType, type IGeoLayer } from "../../types/layers/index.js"; import { type ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; type WithoutExecutions = Omit; /** * Props that may include layer type information for fallback layer creation. */ interface IPropsWithLayerType { type?: GeoLayerType; } /** * Result of normalizing layer executions * * @internal */ export interface INormalizedLayerExecutions { /** * All layer executions paired with their layer definitions */ layerExecutions: ILayerExecutionRecord[]; /** * Core props with derived layers array and resolved type */ propsWithLayers: TCoreProps & { layers: IGeoLayer[]; }; } /** * Normalizes executions into paired layer execution records. * * @remarks * Extracts layer metadata from execution contexts and pairs them together * so downstream hooks can rely on the combined data. * * If an execution doesn't have proper layer context, a fallback layer is * created to maintain proper ordering (root layer first, then additional layers). * * Ensures all layers have unique IDs to prevent key collisions in data Maps. * * @internal */ export declare function useNormalizedLayerExecutions(props: TCoreProps): INormalizedLayerExecutions>; export {}; //# sourceMappingURL=useNormalizedLayerExecutions.d.ts.map