/** * The name that was probably meant, for a message that refuses one. * * Shared by a flow's faults and by skill lookup, which both answer a name that * matches nothing with the one closest to it. */ /** * The candidate closest to `word`, when it is close enough to be the one meant. * * Close enough is two edits, or one for a word of three letters or fewer, so a * short typo is not "corrected" into an unrelated short word. */ export declare function nearest(word: string, candidates: Iterable): string | undefined; //# sourceMappingURL=nearest.d.ts.map