export declare function getNumberOfCores(): number;
/**
 * Since the JSON value is a string, it must be a percentage like "50%",
 * which we convert to a number based on the available parallelism.
 * For example, if the available parallelism (not the -p flag) is 8 and the weight is "50%",
 * then the resulting weight will be 4.
 *
 * @param weight
 * @returns
 */
export declare function parseParallelismPercent(weight: string, numberOfCores?: number): number;
/**
 * Parses a command line specification for desired parallelism.
 * Factored out to enable unit tests
 */
export declare function parseParallelism(rawParallelism: string | undefined, numberOfCores?: number): number;
//# sourceMappingURL=ParseParallelism.d.ts.map