import { type UniversalOptions, type Config } from '@pnpm/config'; import { type ProjectManifest } from '@pnpm/types'; export declare function rcOptionsTypes(): Record; export declare function cliOptionsTypes(): Record; export declare const commandNames: string[]; export declare function help(): string; export type PackOptions = Pick & Pick & Partial> & { argv: { original: string[]; }; dryRun?: boolean; engineStrict?: boolean; packDestination?: string; out?: string; json?: boolean; unicode?: boolean; }; export interface PackResultJson { name: string; version: string; filename: string; files: Array<{ path: string; }>; } export declare function handler(opts: PackOptions): Promise; export declare function api(opts: PackOptions): Promise; export interface PackResult { publishedManifest: ProjectManifest; contents: string[]; tarballPath: string; }