export type Resolver = (modulePath: string) => string | undefined;
/**
 * Returns a function which resolves filesystem base directories, given module
 * names. The returned function will resolve all modules starting from the `cwd`
 * passed to the resolver factory.
 */
export default function resolver(cwd: string): Resolver;
