export default function workingDir(dir: string, cwd: string, checkExisting?: boolean): string;
