import type { Workspace } from '../../../pm/index.ts';
import type { CheckPackageParams, CheckSourceParams } from './checkPackageTypes.ts';
export type UnusedDepKind = 'move-to-dev' | 'remove';
export interface UnusedDep {
    dep: string;
    kind: UnusedDepKind;
    reason?: string;
}
export declare function findUnusedDependencies(location: string, dependencies: string[], devDependencies: string[], externalDistImports: string[], externalDistTypeImports: string[], externalAllImports: string[], exclude?: Set<string>): UnusedDep[];
export declare function getUnusedDependencies({ name, location }: Workspace, { dependencies, devDependencies }: CheckPackageParams, { externalDistImports, externalDistTypeImports, externalAllImports, }: CheckSourceParams, exclude?: Set<string>): number;
export declare function fixUnusedDependencies(workspace: Workspace, { dependencies, devDependencies }: CheckPackageParams, { externalDistImports, externalDistTypeImports, externalAllImports, }: CheckSourceParams, exclude?: Set<string>): number;
//# sourceMappingURL=getUnusedDependencies.d.ts.map