/** * Fuzzy matching and suggestion utilities for profile names */ /** * Calculate Levenshtein distance between two strings * Used for fuzzy matching of profile names * * @param a First string * @param b Second string * @returns Edit distance (lower = more similar) */ export declare function levenshteinDistance(a: string, b: string): number; /** * Find the closest matching profile name from available profiles * * @param target Target profile name (potentially misspelled) * @param availableProfiles List of valid profile names * @param maxDistance Maximum edit distance to consider (default: 3) * @returns Best matching profile name, or undefined if no close match */ export declare function findClosestProfile(target: string, availableProfiles: string[], maxDistance?: number): string | undefined; /** * Find all profiles that are similar to the target * * @param target Target profile name * @param availableProfiles List of valid profile names * @param maxDistance Maximum edit distance (default: 3) * @returns Array of similar profile names sorted by distance */ export declare function findSimilarProfiles(target: string, availableProfiles: string[], maxDistance?: number): string[]; //# sourceMappingURL=suggestions.d.ts.map