import { Project } from "../project";
export declare function assertUnusedTag(tag: string): Promise<void>;
export declare function getVersionTag(version: string): string;
export declare function getVersionMessage(version: string): string;
export declare function commitVersion(version: string, projectRoot?: string): Promise<void>;
export declare function release(version: string, locations: Project): Promise<void>;
export interface PackageJson {
    version: string;
    main: string;
    types: string;
    module?: string;
    script?: any;
    gitHead?: string;
}
export declare function readJsonFile<T = any>(filePath: string): Promise<T>;
export declare function writeJsonFile<T>(filePath: string, data: T): Promise<void>;
export declare function readPackage(locations: Project): Promise<PackageJson>;
export declare function writePackage(pkg: PackageJson, locations: Project): Promise<void>;
export declare function setPackageVersion(version: string, locations: Project): Promise<void>;
export declare function getNextVersion(bumpKind: "major" | "minor" | "patch", locations: Project): Promise<string>;
export declare function bumpVersion(bumpKind: "major" | "minor" | "patch", locations: Project): Promise<void>;
