UNPKG

778 BTypeScriptView Raw
1/**
2 * If the user has specified the `bin` option,
3 * we need to ensure these paths are valid directories
4 * and read the executables from them
5 */
6export declare const addBinLookupsToObject: (config: any) => any;
7/**
8 * Resolve many bin paths
9 */
10export declare const getBinLookups: (paths: string[], cwd: string) => any;
11/**
12 * Resolve a single path. Allow for errors such as
13 * not found or not a directory
14 */
15export declare const getBinLookup: (path: string, cwd: string) => any;
16/**
17 * Resolve many bin directories, but if any produce an
18 * error, return a Left() indicating that
19 */
20export declare const getBins: (dir: string[], cwd: string) => any;
21/**
22 * Scan a directory to retrieve an array of executables
23 */
24export declare const getExecutables: (dirs: any) => any;