export default function makePathResolver(refDirName: string, aliases?: { [alias: string]: string | string[]; }, modules?: string[]): (filePath: string, originalDirNameOverride?: string) => string | null;