UNPKG

figma-transformer

Version:

```js import { processFile } from "figma-transformer";

7 lines (6 loc) 347 B
import { Node } from "figma-js"; import { Shortcuts } from "./types"; export declare function uniqBy(arr: any[], key: string): any[]; export declare function groupBy(arr: any[], key: string): any; export declare const groupNodes: (nodes: Node[]) => Shortcuts; export declare const parseShortcutKeys: (obj: Record<string, any>) => Shortcuts;