export declare function findUp(pathName: string | string[], startDirs: string | string[], endDir: string): Promise;