/** * Finds the candidates that are probably misspellings of the given name (or the other way round) * * The comparison is case-insensitive. The result is ordered by similarity, most similar first. */ export declare function getSimilarNames(name: string, candidates: Iterable): ReadonlyArray; /** * Formats a hint like graphql-js does, e.g. ' Did you mean "a", "b", or "c"?' * * @returns the hint (with a leading space), or an empty string if there are no suggestions */ export declare function didYouMean(suggestions: ReadonlyArray): string;