import solidIcons from './solid-icons'; import regularIcons from './regular-icons'; import lightIcons from './light-icons'; export type IconStyle = 'solid' | 'regular' | 'light'; export type IconName = string; /** * Icon Registry System * * Provides categorized icon storage with CDN fallback * Usage: getIcon('star', 'solid') or getIcon('star') // defaults to solid */ /** * Get icon from registry with fallback to CDN * @param name - Icon name (e.g., 'star', 'heart') * @param style - Icon style (solid, regular, light) * @returns Promise - SVG string or empty string if not found */ export declare function getIcon(name: IconName, style?: IconStyle): Promise; /** * Check if icon exists in local registry * @param name - Icon name * @param style - Icon style * @returns boolean */ export declare function hasIcon(name: IconName, style?: IconStyle): boolean; /** * Get all available icons for a specific style * @param style - Icon style * @returns IconName[] */ export declare function getAvailableIcons(style?: IconStyle): IconName[]; /** * Get icon from cache * @param name - Icon name * @param style - Icon style * @returns string | undefined */ export declare function getCachedIcon(name: IconName, style?: IconStyle): string | undefined; /** * Register custom icon * @param name - Icon name * @param style - Icon style * @param svg - SVG content */ export declare function registerIcon(name: IconName, style: IconStyle, svg: string): void; export type CoreSolidIcon = keyof typeof solidIcons; export type CoreRegularIcon = keyof typeof regularIcons; export type CoreLightIcon = keyof typeof lightIcons; export type CoreIcon = CoreSolidIcon | CoreRegularIcon | CoreLightIcon; //# sourceMappingURL=icon-registry.d.ts.map