export interface WorkspacePackage { name: string; dir: string; entryPoint: string; exports?: Record; } export interface WorkspaceMap { packages: Map; rootDir: string; } /** * Build a workspace map by detecting workspace configuration and resolving packages. */ export declare function buildWorkspaceMap(startDir: string, knownFiles: Set): WorkspaceMap | null; /** * Clear the workspace map cache. Useful for testing. */ export declare function clearWorkspaceMapCache(): void; /** * Resolve a workspace import specifier to an absolute file path. */ export declare function resolveWorkspaceImport(source: string, workspaceMap: WorkspaceMap, knownFiles: Set): string | undefined; //# sourceMappingURL=workspace-resolver.d.ts.map