import type { NlqTranslationError } from '../../../types.js';
/**
 * Builds a path string for a dataOptions field.
 *
 * @internal
 */
export declare function dataOptionsPath(axisKey: string | number, itemIndex?: number): string;
/**
 * Joins path segments using pathPrefix notation (e.g. "widgets[0].dataOptions.category[0]").
 *
 * @internal
 */
export declare function joinPathStrings(prefix: string, suffix?: string): string;
/**
 * Prefixes an error path with a structural segment.
 *
 * @internal
 */
export declare function prefixPath(prefix: string): (error: NlqTranslationError) => NlqTranslationError;
/**
 * Prefixes path with widgets[index] for dashboard-level widget errors.
 *
 * @internal
 */
export declare function withWidgetsArrayPath(widgetIndex: number): (error: NlqTranslationError) => NlqTranslationError;
/**
 * Prefixes filter errors with filters[index] at dashboard level.
 *
 * @internal
 */
export declare function withFilterPath(filterIndex: number): (error: NlqTranslationError) => NlqTranslationError;
/**
 * Maps errors from a translation result through a mapper.
 *
 * @internal
 */
export declare function mapTranslationErrors(errors: readonly NlqTranslationError[], mapError: (error: NlqTranslationError) => NlqTranslationError): NlqTranslationError[];
