// Type definitions for locate-path 2.0 // Project: https://github.com/sindresorhus/locate-path#readme // Definitions by: BendingBender // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = locatePath; declare function locatePath(input: Iterable, options?: locatePath.Options): Promise; declare namespace locatePath { function sync(input: Iterable, options?: {cwd?: string}): string | undefined; interface Options { concurrency?: number; preserveOrder?: boolean; cwd?: string; } }