/**
 * @file Package manifest and packument fetching utilities.
 */
import type { PackageJson, PacoteOptions } from './types';
/**
 * Create a package.json object for a Socket registry package.
 *
 * @example
 *   ;```typescript
 *   const pkgJson = createPackageJson('is-number', 'packages/npm/is-number', {
 *     version: '1.0.0',
 *     description: 'Check if a value is a number',
 *   })
 *   ```
 */
export declare function createPackageJson(sockRegPkgName: string, directory: string, options?: PackageJson | undefined): PackageJson;
/**
 * Fetch the manifest for a package.
 *
 * @example
 *   ;```typescript
 *   const manifest = await fetchPackageManifest('lodash@4.17.21')
 *   ```
 */
export declare function fetchPackageManifest(pkgNameOrId: string, options?: PacoteOptions): Promise<unknown>;
/**
 * Fetch the packument (package document) for a package.
 *
 * @example
 *   ;```typescript
 *   const packument = await fetchPackagePackument('lodash')
 *   ```
 */
export declare function fetchPackagePackument(pkgNameOrId: string, options?: PacoteOptions): Promise<unknown>;
