import { Project } from "@atomist/automation-client/lib/project/Project";
import { ProjectVersioner } from "../../../core/delivery/build/local/projectVersioner";
import { ProjectVersionerRegistration } from "../../../core/goal/common/Version";
import { ProgressLog } from "../../../spi/log/ProgressLog";
import { IncrementVersionRegistration, VersionIncrementer } from "../../version/increment";
/**
 * Create timestamped pre-prelease, branch-aware version based on
 * version in package.json file.
 */
export declare const NpmVersioner: ProjectVersioner;
/**
 * Versioner function registration for the [[Version]] goal.
 */
export declare const NpmVersionerRegistration: ProjectVersionerRegistration;
/**
 * Command for incrementing the patch value in package.json.
 *
 * @param args Standard project incrementer arguments
 * @return Goal execution result
 */
export declare const NpmVersionIncrementer: VersionIncrementer;
/**
 * Increment version registration for [[NpmVersionIncrementer]].
 */
export declare const NpmVersionIncrementerRegistration: IncrementVersionRegistration;
/**
 * Read version from package.json in project p.  If it fails to
 * determine the version from the package.json, it returns "0.0.0".
 */
export declare function readPackageVersion(p: Project, log: ProgressLog): Promise<string>;
//# sourceMappingURL=npmVersioner.d.ts.map