export declare function setPackageVersion(dir: string, packageVersion: string): Promise; export declare function withTemporaryPackageVersion(dir: string, packageVersion: string, fn: () => Promise): Promise;