import { Logger } from "./logging"; export declare const cacheDir: string; export interface NpmPublishClientConfig { defaultTag?: string; } export declare class NpmPublishClient { private readonly token; private readonly defaultTag; static create(token: string, config?: NpmPublishClientConfig): Promise; private constructor(); publish(publishedDirectory: string, packageJson: Record, dry: boolean, log: Logger): Promise; tag(packageName: string, version: string, distTag: string, dry: boolean, log: Logger): Promise; }