/** * https://github.com/snyk/nodejs-lockfile-parser/blob/master/lib/parsers/yarn-utils.ts */ import { type structUtils } from '@yarnpkg/core'; export type ParseDescriptor = typeof structUtils.parseDescriptor; export type ParseRange = typeof structUtils.parseRange; export type YarnLockFileKeyNormalizer = (fullDescriptor: string) => Set; export declare const yarnLockFileKeyNormalizer: (parseDescriptor: ParseDescriptor, parseRange: ParseRange) => YarnLockFileKeyNormalizer;