import { Provider } from '@angular/core'; import { LucideIconData, LucideIcons } from 'lucide-angular'; import { ComIconData } from 'ngx-com/components/icon'; /** * Converts a single Lucide icon to the generic `ComIconData` format. * * Lucide's `LucideIconData` is `readonly [string, Record][]` * which is structurally identical to `ComIconData`. This function exists for * type-level conversion and explicit intent. */ declare function fromLucideIcon(icon: LucideIconData): ComIconData; /** * Registers Lucide icons for use with `com-icon`. * * Drop-in replacement for `provideComIcons` that accepts Lucide icon imports directly. * * @example Root-level (app.config.ts) * ```ts * import { provideComLucideIcons } from 'ngx-com/components/icon/lucide'; * import { ChevronRight, Star, Check } from 'lucide-angular'; * * export const appConfig = { * providers: [ * provideComLucideIcons({ ChevronRight, Star, Check }) * ] * }; * ``` */ declare function provideComLucideIcons(icons: LucideIcons): Provider; export { fromLucideIcon, provideComLucideIcons };