import type { TSESTree } from "@typescript-eslint/utils"; import { Effect } from "effect"; import type { ModulePathValidationResult, SuggestionWithScore } from "../../core/index.js"; import type { FilesystemError, FilesystemService } from "../index.js"; /** * Finds similar module paths in directory * * @param requestedPath - Requested module path * @param currentFilePath - Current file path * @param fsService - Filesystem service * @returns Effect with similar module paths * * @purity SHELL (uses SHELL service + CORE algorithms) * @effect Filesystem I/O * @complexity O(n log n) where n = number of files */ export declare const findSimilarModulePaths: (requestedPath: string, currentFilePath: string, fsService: FilesystemService) => Effect.Effect; /** * Validates module path and generates suggestions * * @param node - Import declaration or require call node * @param requestedPath - Requested module path * @param currentFilePath - Current file path * @param fsService - Filesystem service * @returns Effect with validation result * * @purity SHELL (uses SHELL service + CORE algorithms) * @effect Filesystem I/O * @complexity O(n log n) where n = number of files */ export declare const validateModulePath: (node: TSESTree.ImportDeclaration | TSESTree.CallExpression, requestedPath: string, currentFilePath: string, fsService: FilesystemService) => Effect.Effect; /** * Checks if module path exists * * @param modulePath - Module path to check * @param currentFilePath - Current file path * @param fsService - Filesystem service * @returns Effect with boolean result * * @purity SHELL (uses SHELL service) * @effect Filesystem I/O * @complexity O(1) */ export declare const modulePathExists: (modulePath: string, currentFilePath: string, fsService: FilesystemService) => Effect.Effect; /** * Calculates minimum similarity score based on input length * * @param inputLength - Length of user input * @returns Minimum score threshold * * @pure true * @purity CORE * @effect None * @invariant result ∈ [0.33, 0.35] * @complexity O(1) * @throws Never * * FORMAT THEOREM: minScore = inputLength ≥ 10 ? 0.33 : 0.35 */ export declare function calculateMinScore(inputLength: number): number; //# sourceMappingURL=module-lookup.d.ts.map