hunk.code_window: import { logging } from '@angular-devkit/core';
   import * as lockfile from '@yarnpkg/lockfile';
   import { existsSync, readFileSync } from 'fs';
   import * as ini from 'ini';
   import { homedir } from 'os';
   import * as path from 'path';
   import { JsonSchemaForNpmPackageJsonFiles } from './package-json';
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: import * as pacote from 'pacote';
  
hunk.file_path: packages/angular/cli/utilities/package-metadata.ts
hunk.type: add
file: /**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   */
  
  declare module '@yarnpkg/lockfile' {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    export function parse(data: string): Record<string, any>;
  }
  
  declare module 'ini' {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    export function parse(data: string): Record<string, any>;
  }
  
  declare module 'npm-pick-manifest' {
    function pickManifest(
      metadata: import('../utilities/package-metadata').PackageMetadata,
      selector: string,
    ): import('../utilities/package-metadata').PackageManifest;
    export = pickManifest;
  }
  