/**
 * Returns the path from a path name be splitting the name by a given separator.
 * @private
 * @param {string} pathName
 * @param {string} separator
 * @returns {string[]} - The path
 */
export default function getPathFromName(pathName: string, separator: string): string[];
