import type { Project } from './ts-morph.ts'; import { type FileExportsWithDependenciesResult } from './get-file-exports.ts'; import { type Kind, type TypeFilter } from './resolve-type.ts'; export interface ResolvedFileExportsResult { resolvedTypes: Kind[]; dependencies: string[]; } export interface ResolveFileExportsWithDependenciesOptions { seedFileExportsByFilePath?: ReadonlyMap; blockedPersistentResolvedFilePaths?: ReadonlySet; readFreshResolvedFileExportsByFilePath?: (filePath: string) => Promise; resolveFileExportsByFilePath?: (filePath: string, blockedPersistentResolvedFilePaths: ReadonlySet) => Promise; } /** * Resolve all file export types in a single analysis pass. * * This avoids the repeated per-export RPC/cache overhead that large barrel * files would otherwise pay when rendering ``. */ export declare function resolveFileExportsWithDependencies(project: Project, filePath: string, filter?: TypeFilter, options?: ResolveFileExportsWithDependenciesOptions): Promise;