export default function runWithTempPackageDir(fn: (dir: string) => Promise): Promise;