import { type GoodDataSdkError } from "@gooddata/sdk-ui"; import type { ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; interface IRejectedLayerResult { layerId: string | undefined; error: GoodDataSdkError; } interface IProcessSettledLayerResultsParams { settledResults: PromiseSettledResult[]; layerExecutions: ILayerExecutionRecord[]; onRejected?: (result: IRejectedLayerResult) => void; } export interface IProcessedSettledLayerResults { fulfilledValues: T[]; firstError?: GoodDataSdkError; } /** * Collects fulfilled layer results and preserves the first converted error for partial-failure flows. * * @internal */ export declare function processSettledLayerResults({ settledResults, layerExecutions, onRejected, }: IProcessSettledLayerResultsParams): IProcessedSettledLayerResults; export {}; //# sourceMappingURL=processSettledLayerResults.d.ts.map