export type RunParams = { fullReport: boolean; reports: boolean; write: boolean; pdf: boolean; }; interface IGetInfo { description?: string; license?: string; url: string; } interface IInfo { description?: string; key: string; license?: string; url: string; version: string; versionRaw?: string; } export declare const getMustCheckNpm: (fullReport: boolean) => (element: IInfo) => boolean; /** * Get the repository information from the package.json * @param nodeModules * @param webpartsNodeModules * @param packageName * @returns */ export declare const getRepositoryInfo: (nodeModules: string, webpartsNodeModules: string | undefined, packageName: string) => IGetInfo; /** * Get the dependencies and devDependencies from the package.json files * @param rootConfig * @param nodeModules * @param webpartsNodeModules * @returns */ export declare const getDependencies: (rootConfig: string, nodeModules: string, webpartsNodeModules: string) => Promise<{ dependencies: Map; devDependencies: Map; }>; /** * Run the dependencies check * @param rootConfig * @param runParams */ export declare const runDependencies: (rootConfig: string, runParams: RunParams) => Promise; export {};