import { Effect } from "effect"; import { FileReader } from "../filesystem/file-reader.js"; import type { Logger } from "../logger.js"; export declare function findWorkspaceEntrypointModule(): Promise; declare class ManifestFileReadingError { readonly message: string; readonly _tag = "ManifestFileReadingError"; constructor(message: string); } export declare function findRootManifest(baseDir: string, manifestPath: string): Effect.Effect, ManifestFileReadingError, FileReader>; export declare function findManifestDependencies(baseDir: string, manifestPath: string): Effect.Effect; /** * As third-party dependencies can be accessed through exported modules * such as "rjxs/internal/observable/empty", we must be able to match that * whole path with the dependency name in the manifest file (e.g. "rxjs"). */ export declare function findMatchesBetweenGraphAndManifestDependencies(depsExtractedFromGraph: string[], depsExtractedFromManifest: string[]): string[]; export declare function findUnusedImplicitDependencies(rootDir: string): Promise; type ManifestDependencyType = "dependencies" | "devDependencies" | "peerDependencies"; export interface ManifestDependenciesByName { [workspaceProjectName: string]: Record>; } export declare function extractInformationFromManifest(manifestContent: string, rootFile: string, logger: Logger, manifests: ManifestDependenciesByName): void; export {};