export interface MissingDependency { file: string; pkg: string; exportsRestrict: boolean; } export declare type NecessaryDependencies = { resolved: Map; missing: MissingDependency[]; }; export declare function hasNecessaryDependencies(baseDir: string, requiredPackages: MissingDependency[]): Promise;