export default function pathTocurve(path: any, path2?: any): any[];