import type { ScopeRule } from '../types.js'; /** * Resolves a `dictionary` option value (the shared base path WITHOUT the * `.aff`/`.dic` extension) to its two file paths. Resolved relative to * `process.cwd()`, not the config file's directory — consistent with every * other file-shaped config value in this package; an absolute path is used * as-is. * * Exported so `../../config/validate.ts`'s dictionary-file-existence check * (see `checkSpellingPeerDependencies` there) shares this EXACT resolution * rule instead of re-implementing it — a config that validates cleanly must * always name the same files `readCustomDictionary` below actually reads at * lint time, or validate() and the runtime could silently disagree about * which files a `dictionary` path names. */ export declare function resolveDictionaryPaths(dictionaryPath: string): { aff: string; dic: string; }; /** * Formats the fallback message's second `%s` slot: `''` for zero * suggestions, or `' — did you mean: a, b, c?'` for one to three. * Exported for direct unit testing. */ export declare function formatSuggestionSuffix(suggestions: string[]): string; export declare const spelling: ScopeRule; //# sourceMappingURL=spelling.d.ts.map