/**
 * Resolves path to a given directory. The method is similar to `require.resolve`,
 * but also works for directories with no `index.js` file.
 */
export declare function resolveDir(fromLocation: string, dirPath: string): string;
