import { Icon as PhosphorIcon } from '@phosphor-icons/react'; import * as PhosphorIcons from '@phosphor-icons/react'; /** Keys on `@phosphor-icons/react` that are not icon components */ declare const EXCLUDED_EXPORT_KEYS: readonly ["Icon", "IconProps", "IconWeight", "IconContext"]; type ExcludedExportKey = (typeof EXCLUDED_EXPORT_KEYS)[number]; /** PascalCase export name → kebab-case (matches the runtime loop below) */ type KebabCase = S extends `${infer T}${infer U}` ? U extends Uncapitalize ? `${Lowercase}${KebabCase}` : `${Lowercase}-${KebabCase>}` : S; type PascalExportName = Exclude; /** * All icon names accepted by the registry (kebab-case), e.g. `"pencil-simple"` for `PencilSimple`. */ export type IconName = { [K in PascalExportName]: KebabCase; }[PascalExportName]; /** * Icon registry mapping * Maps string names to Phosphor icon components */ declare const iconRegistry: Record; export { iconRegistry };