class FigmaFileLoaderClass representing a document loader for loading Figma files. It extends the BaseDocumentLoader and implements the FigmaLoaderParams interface. The constructor takes a config object as a parameter, which contains the access token, an array of node IDs, and the file key.
const loader = new FigmaFileLoader({
accessToken: "FIGMA_ACCESS_TOKEN",
nodeIds: ["id1", "id2", "id3"],
fileKey: "key",
});
const docs = await loader.load();