/**
 * String distance utilities for typo detection and field suggestions.
 * Shared by validateProps and validateChartData.
 */
/** Levenshtein edit distance between two strings. */
export declare function levenshtein(a: string, b: string): number;
/**
 * Find the closest match from candidates by Levenshtein distance.
 * Returns the match if distance <= maxDist, otherwise null/undefined.
 */
export declare function closestMatch(input: string, candidates: string[], maxDist?: number): string | undefined;
