/**
 * @file Package.json normalization utilities.
 */
import type { NormalizeOptions, PackageJson } from './types';
export declare function getEscapedScopeRegExp(): RegExp;
/**
 * Normalize a package.json object with standard npm package normalization.
 *
 * @example
 *   ;```typescript
 *   const pkgJson = { name: 'my-pkg', version: '1.0.0' }
 *   const normalized = normalizePackageJson(pkgJson)
 *   ```
 */
export declare function normalizePackageJson(pkgJson: PackageJson, options?: NormalizeOptions): PackageJson;
/**
 * Extract escaped scope from a Socket registry package name.
 *
 * @example
 *   ;```typescript
 *   resolveEscapedScope('babel__core') // 'babel__'
 *   resolveEscapedScope('lodash') // undefined
 *   ```
 */
export declare function resolveEscapedScope(sockRegPkgName: string): string | undefined;
/**
 * Resolve original package name from Socket registry package name.
 *
 * @example
 *   ;```typescript
 *   resolveOriginalPackageName('@socketregistry/is-number') // 'is-number'
 *   ```
 */
export declare function resolveOriginalPackageName(sockRegPkgName: string): string;
/**
 * Convert escaped scope to standard npm scope format.
 *
 * @example
 *   ;```typescript
 *   unescapeScope('babel__') // '@babel'
 *   ```
 */
export declare function unescapeScope(escapedScope: string): string;
