/**
 * Translates a single data options axis from JSON to CSDK format.
 * Shared by chart and pivot-table translators.
 *
 * @internal
 */
import type { Attribute, Measure } from '@sisense/sdk-data';
import type { StyledColumn, StyledMeasureColumn } from '../../../../../domains/visualizations/core/chart-data-options/types.js';
import type { NlqTranslationError } from '../../../types.js';
import type { InternalDataSchemaContext } from '../../types.js';
import { type AxisType } from './adapters.js';
export type { AxisType };
export type TranslatedAxis = (Attribute | StyledColumn)[] | (Measure | StyledMeasureColumn)[];
/**
 * Translates a single axis from JSON to CSDK format.
 *
 * @param axisKey - The axis key (e.g. 'category', 'value', 'rows', 'columns')
 * @param axisValue - The axis value (array or single item)
 * @param axisType - Whether the axis contains dimensions or measures
 * @param context - Schema context for translation
 * @param translationErrors - Array to collect errors into
 * @returns Translated array or null if translation failed
 */
export declare function translateSingleAxisFromJSON(axisKey: string, axisValue: unknown, axisType: AxisType, context: InternalDataSchemaContext, translationErrors: NlqTranslationError[]): TranslatedAxis | null;
