securityos/node_modules/next/dist/lib/has-necessary-dependencies....

11 lines
352 B
TypeScript

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