import { ChartProps } from '../../../../props.js';
import { NlqTranslationResult } from '../../types.js';
import type { ChartInput } from '../types.js';
/**
 * Translates NLQ ChartJSON format to CSDK chart props.
 * Direction: JSON → CSDK
 *
 * Translates chart JSON generated by the NLQ API to CSDK ChartProps object.
 *
 * @example
 * Input:
 * {
 *   chartType: 'column',
 *   dataOptions: {
 *     category: ['DM.Commerce.Date.Years'],
 *     value: [
 *       { function: 'measureFactory.sum', args: ['DM.Commerce.Revenue', 'Total Revenue'] }
 *     ],
 *     breakBy: [{ column: 'DM.Commerce.Gender', sortType: 'sortAsc' }]
 *   },
 *   filters: [
 *     { function: 'filterFactory.members', args: ['DM.Commerce.Date.Years', ['2024-01-01T00:00:00']] }
 *   ]
 * }
 *
 * Output:
 * {
 *   chartType: 'column',
 *   dataSet: { ... },
 *   dataOptions: {
 *     category: [Attribute(...), ...],
 *     value: [Measure(...), ...],
 *     breakBy: [Attribute(...), ...]
 *   },
 *   filters: [Filter(...), ...]
 * }
 *
 * @param input - ChartInput object containing chartJSON and data schema context
 * @returns NlqTranslationResult with ChartProps or errors
 * @internal
 */
export declare const translateChartFromJSON: (input: ChartInput) => NlqTranslationResult<ChartProps>;
