export default function resetMainPath(routes: any[], mainPath: string): any[];