import { JSON } from './common'; /** * 验证当前目录下是否已经存在指定文件,如果不存在则退出进行 */ export declare function isFileExist(): void; /** * 覆写 package.json 的 publishConfig 信息 * @param registry npm 源 */ export declare function changePublishConfig(registry: string): void; /** * 覆写 .npmrc 文件 * @param registryInfo npm 源信息 */ export declare function overWriteNpmrc(registryInfo: string): void; /** * 执行 npm publish */ export declare function publish(registry: string): void; /** * 修改 npm 源相关信息 * @param data */ export declare function changeRegistryInfo(data: any): void; export declare function selectRegistry(auto: boolean): Promise;