13 lines
362 B
Plaintext
13 lines
362 B
Plaintext
|
import { IconifyJSON } from '@iconify/types';
|
||
|
|
||
|
type ParentIconsList = string[];
|
||
|
type ParentIconsTree = Record<string, ParentIconsList | null>;
|
||
|
/**
|
||
|
* Resolve icon set icons
|
||
|
*
|
||
|
* Returns parent icon for each icon
|
||
|
*/
|
||
|
declare function getIconsTree(data: IconifyJSON, names?: string[]): ParentIconsTree;
|
||
|
|
||
|
export { ParentIconsList, ParentIconsTree, getIconsTree };
|