export declare function findOnPath(name: string, env?: NodeJS.ProcessEnv): Promise;