/**
 * Finds the directory of the parent module's package descriptor file. If the
 * directory is undefined (the default case), then it is set to the directory
 * name of the parent module's filename. If no package.json file is found, then
 * the parent directories are recursively searched until the file is found or
 * the root directory is reached.
 * https://gist.github.com/fhellwig/3355047
 */
export declare function findParentDir(directory: string): Promise<string>;
