import type { PathCommand } from './types'; export default function pathToCurve(path: PathCommand[] | string, needZCommandIndexes?: boolean): PathCommand[] | (number[] | PathCommand[])[];