import { AxisSettings } from '../../../../../../../../../../domains/visualizations/core/chart-options-processor/translations/axis-section.js';
import { BuildContext } from '../../../../types.js';
import { StackableChartTypes } from '../../types.js';
/**
 * Functional transformer that applies stacking-specific Y-axis enhancements.
 * This transformer adds stacking-related properties (stack labels, total labels, formatting)
 * to basic Y-axis settings for stackable charts (bar, column, area).
 *
 * This version is chart-type independent since all stackable chart types use identical stacking logic.
 *
 * @param ctx - Build context containing chart data, options, and configuration
 * @returns A function that transforms basic Y-axis settings to include stacking support
 *
 * @example
 * ```typescript
 * // Apply stacking enhancements to basic Y-axis
 * const basicYAxisSettings = getBasicYAxisSettings(ctx);
 * const stackedYAxis = withStacking(ctx)(basicYAxisSettings);
 * ```
 */
export declare const withStacking: (ctx: BuildContext<StackableChartTypes>) => (basicYAxisSettings: AxisSettings[]) => AxisSettings[];
