import { AppSharedState } from '../state.models'; import { ActionMapLayerSetFeatureKeys } from '../state.models.actions'; /** * Reducer to atomically replace all feature keys for a map layer selection. * * Unlike dispatching MAP_LAYER_ADD_FEATURE_KEY N times (N state updates, N re-renders), * this replaces the entire featureKeys array and recalculates colour index pairs in one * single state update. * * @param {AppSharedState} state - The current application state. * @param {ActionMapLayerSetFeatureKeys} action - The action containing mapKey, layerKey, featureKeys, and optional customSelectionStyle. * @returns {AppSharedState} - Updated state with selection replaced atomically. */ export declare const reduceHandlerSetFeatureKeysInSelections: (state: T, action: ActionMapLayerSetFeatureKeys) => T;