import type { KopytkoImport } from '../types'; export declare function parseImports(text: string): KopytkoImport[]; export interface ImportResolverOptions { workspaceFolders: string[]; sourceDir: string; resolveModules: boolean; } export declare class ImportResolver { private readonly options; private readonly existsCache; private readonly resolveCache; private readonly knownFilePaths; constructor(options: ImportResolverOptions); /** Pre-seed with paths known to exist (from filesystem walk). */ registerKnownPaths(paths: Iterable): void; cachedExists(filePath: string): boolean; getWorkspaceFolders(): string[]; getSourceDir(): string; parseImports(text: string): KopytkoImport[]; resolveImportPath(imp: KopytkoImport, documentPath: string): string | undefined; importExists(imp: KopytkoImport, documentPath: string): boolean; private resolveInternalImport; private resolveExternalImport; } //# sourceMappingURL=importParser.d.ts.map