importFromFigma
Import an icon set from Figma.
Fetches the document, extracts icon nodes, downloads SVGs, cleans them up with cleanupSVG and builds an IconSet. Returns "not_modified" when the document version matches ifModifiedSince.
The result contains the document name, version and modification time, node and icon counters, the generated IconSet and a list of icons that could not be imported. cacheDir enables caching for API responses and SVG files.