import { type CreateFetchFromRegistryOptions } from '@pnpm/network.fetch'; import type { RegistriesByScope, RegistryConfig } from '@pnpm/types'; import { parsePackageSpec, rcOptionsTypes } from '../common.js'; export { parsePackageSpec, rcOptionsTypes }; export declare function cliOptionsTypes(): Record; export interface DeprecateOptions extends CreateFetchFromRegistryOptions { cliOptions: { otp?: string; }; configByUri?: Record; registriesByScope?: RegistriesByScope; } interface UpdateDeprecationOptions { deprecated: string | undefined; packageName: string; versionRange: string | undefined; } export declare function updateDeprecation(opts: DeprecateOptions, { deprecated, packageName, versionRange }: UpdateDeprecationOptions): Promise;