import { Effect } from "effect"; import type { ModulePathValidationResult } from "../../core/index.js"; import type { FilesystemError } from "../effects/errors.js"; import { FilesystemServiceTag } from "../services/filesystem-effect.js"; export declare const validateModulePathEffect: (node: object, // ESLint ImportDeclaration | CallExpression requestedPath: string, containingFile: string) => Effect.Effect; /** * Checks if module path exists * * @param modulePath - Module path to check * @param containingFile - File containing the import * @returns Effect with boolean result * * @purity SHELL * @effect Effect * @complexity O(1) * @throws Never */ export declare const modulePathExistsEffect: (modulePath: string, containingFile: string) => Effect.Effect; /** * Validates if candidate is suitable for module path suggestions * * @param candidate - Module candidate * @param userInput - User's input * @returns true if candidate is valid * * @pure true * @purity CORE * @effect None * @complexity O(1) * @throws Never */ export declare const isValidModuleCandidate: (candidate: string, userInput: string) => boolean; /** * Formats module path validation result into user message * * @param result - Validation result * @returns Formatted message * * @pure true * @purity CORE * @effect None * @complexity O(n) where n = |suggestions| * @throws Never */ export declare const formatModulePathValidationMessage: (result: ModulePathValidationResult) => string; //# sourceMappingURL=module-validation-effect.d.ts.map