import type { IconifyInfo } from '@iconify/types'; /** * Item provided by API or loaded from collections.json, slightly different from IconifyInfo */ export interface LegacyIconifyInfo { name: string; total?: number; version?: string; author?: string; url?: string; license?: string; licenseURL?: string; licenseSPDX?: string; samples?: string[]; height?: number | number[]; displayHeight?: number; category?: string; palette?: 'Colorless' | 'Colorful'; hidden?: boolean; } /** * Collection information */ export interface CollectionInfo extends IconifyInfo { prefix: string; hidden?: boolean; index?: number; } /** * Convert data from API to CollectionInfo */ export declare function dataToCollectionInfo(data: unknown, expectedPrefix?: string): CollectionInfo | null; //# sourceMappingURL=info.d.ts.map