import { type DependenciesField, type ProjectRootDir } from '@pnpm/types'; export declare function removeDirectDependency(dependency: { dependenciesField?: DependenciesField | undefined; name: string; }, opts: { binsDir: string; dryRun?: boolean; modulesDir: string; muteLogs?: boolean; rootDir: ProjectRootDir; }): Promise; export declare function removeIfEmpty(dir: string): Promise;