import type { IconifyInfo } from '@iconify/types'; export type IconifyIconSetList = Record; interface IconifyAPIResponse { data?: T; success: boolean; error?: { message: string; }; } type CollectionResponse = IconifyAPIResponse<{ prefix: string; total: number; title?: string; info?: IconifyInfo; uncategorized?: string[]; categories?: Record; aliases?: Record; hidden?: string[]; themes?: Record; prefixes?: Record; suffixes?: Record; }>; export type IconifySearchOptions = { category?: string; palette?: 'all' | 'mono' | 'multicolor'; style?: 'any' | 'fill' | 'stroke'; }; type SearchIconResponse = IconifyAPIResponse<{ /** List of icons, including prefixes */ icons: string[]; /** Number of results. If same as `limit`, more results are available */ total: number; /** Number of results shown */ limit: number; /** Index of first result */ start: number; /** Info about icon sets */ collections: Record; /** Copy of request, values are string */ request: Record; }>; export declare const searchIcon: (query: string, start?: number, limit?: number, prefixes?: string[], options?: IconifySearchOptions) => Promise; type GetIconResponse = IconifyAPIResponse; export declare const getIconSetByPrefixes: (prefixes?: string) => Promise; export declare const getIconsInCollection: (prefix: string) => Promise; export declare const preloadCollectionIcons: (prefix: string, icons: string[]) => Promise; export {};