UNPKG

320 BTypeScriptView Raw
1import * as graphlib from '../graphlib';
2import * as types from './types';
3export declare function validateGraph(graph: graphlib.Graph, rootNodeId: string, pkgs: {
4 [pkgId: string]: any;
5}, pkgNodes: {
6 [nodeId: string]: Set<string>;
7}): void;
8export declare function validatePackageURL(pkg: types.PkgInfo): void;