import type { ResolveAndCompileResult } from '../../../types.js' export declare const resolveAndCompileImport: ( importPath: string, sourceDir: string, sourceFilePath: string, importChain?: string[], code?: string, ) => Promise