import { type CreateFetchFromRegistryOptions } from '@pnpm/network.fetch'; import type { RegistriesByScope, RegistryConfig } from '@pnpm/types'; export declare function cliOptionsTypes(): Record; export declare function rcOptionsTypes(): Record; export interface StarOptions extends CreateFetchFromRegistryOptions { configByUri?: Record; registriesByScope?: RegistriesByScope; } interface StarActionArgs { packageName: string; star: boolean; } export declare function performStarAction(opts: StarOptions, { packageName, star }: StarActionArgs): Promise; export declare function getAuthHeaderForRegistry(configByUri: Record | undefined, registryUrl: string, packageName?: string): string | undefined; export {};