/// export declare enum PackageAliasType { PLUGIN = "PLUGIN", REPORTER = "REPORTER" } export declare function normalizePath(source: string, rootDir: string): string; export declare function makeRequireFromPath(pathname: string): NodeRequire; /** * Resolve full or short package name to it's absolute path. * @param packageAliasType - Plugin or reporter enum. * @param aliasName - Package name (alias). Can be passed in the "full" or "short" form. * Will append prefixes based on packageAliasType value in order to resolve the short form alias. * @param fromDir - Directory used as "root" while resolving the package. */ export declare function resolveAliasPackage(packageAliasType: PackageAliasType, aliasName: string, fromDir: string): string;