import type { TSESTree } from "@typescript-eslint/utils"; import { Effect } from "effect"; import type { ImportValidationResult } from "../../core/index.js"; import type { TypeScriptCompilerService, TypeScriptServiceError } from "../index.js"; /** * Validates named import and generates suggestions * * @param node - Import specifier node * @param importName - Imported name * @param modulePath - Module path * @param tsService - TypeScript compiler service * @returns Effect with validation result * * @purity SHELL (uses SHELL service + CORE algorithms) * @effect TypeScript Compiler API * @complexity O(n log n) where n = number of exports */ export declare const validateNamedImport: (node: TSESTree.ImportSpecifier, importName: string, modulePath: string, tsService: TypeScriptCompilerService) => Effect.Effect; /** * Checks if module has any exports * * @param modulePath - Module path * @param tsService - TypeScript compiler service * @returns Effect with boolean result * * @purity SHELL (uses SHELL service) * @effect TypeScript Compiler API * @complexity O(1) */ export declare const hasExports: (modulePath: string, tsService: TypeScriptCompilerService) => Effect.Effect; /** * Checks if specific export exists in module * * @param modulePath - Module path * @param exportName - Export name to check * @param tsService - TypeScript compiler service * @returns Effect with boolean result * * @purity SHELL (uses SHELL service) * @effect TypeScript Compiler API * @complexity O(n) where n = number of exports */ export declare const exportExists: (modulePath: string, exportName: string, tsService: TypeScriptCompilerService) => Effect.Effect; //# sourceMappingURL=import-lookup.d.ts.map