import { PackageJSON } from "@changesets/types"; import { TwoFactorState } from "../../utils/types"; export declare function getTokenIsRequired(): Promise; export declare function getPackageInfo(packageJson: PackageJSON): Promise; export declare function infoAllow404(packageJson: PackageJSON): Promise<{ published: boolean; pkgInfo: any; }>; export declare let getOtpCode: (twoFactorState: TwoFactorState) => Promise; export declare function publish(pkgName: string, opts: { cwd: string; access?: string; tag: string; }, twoFactorState: TwoFactorState): Promise<{ published: boolean; }>;