/** * RefineUI System Icons CDN Package - CDN Functions * * This file contains all CDN-related functions for generating URLs, * searching icons, and managing icon metadata. */ import { IconInfo, IconSize, IconStyle } from './types'; /** * Generates a CDN URL for an icon * @param iconName - The name of the icon * @param size - The size of the icon * @param style - The style of the icon * @returns The complete CDN URL * @throws {Error} If the style is invalid */ export declare function generateCDNUrl(iconName: string, size: number, style: 'regular' | 'filled'): string; /** * Generates CDN URLs for all available icons * @returns Array of IconInfo objects for all icons */ export declare function generateAllCDNUrls(): IconInfo[]; /** * Gets information for a specific icon * @param iconName - The name of the icon * @param size - The size of the icon (default: 24) * @param style - The style of the icon (default: 'regular') * @returns IconInfo object for the specified icon * @throws {Error} If the icon, size, or style is not found/supported */ export declare function getIconInfo(iconName: string, size?: number, style?: 'regular' | 'filled'): IconInfo; /** * Gets all icons of a specific size * @param size - The size to filter by * @returns Array of IconInfo objects for the specified size * @throws {Error} If the size is invalid */ export declare function getIconsBySize(size: IconSize): IconInfo[]; /** * Gets all icons of a specific style * @param style - The style to filter by * @returns Array of IconInfo objects for the specified style * @throws {Error} If the style is invalid */ export declare function getIconsByStyle(style: IconStyle): IconInfo[]; /** * Searches for icons by name * @param query - The search query * @returns Array of IconInfo objects matching the query */ export declare function searchIcons(query: string): IconInfo[]; /** * Gets a random selection of icons * @param count - Number of random icons to return * @returns Array of random IconInfo objects */ export declare function getRandomIcons(count?: number): IconInfo[]; //# sourceMappingURL=cdn.d.ts.map