export default function resolveAliases(filePath: string, aliases: { [alias: string]: string | string[]; }, refDirName?: string): string;