import { type ComponentType, type LazyExoticComponent } from "@lynx-js/react"; import type { ImageProps } from "@lynx-js/types/element"; type IconComponent = ComponentType & { size?: number; color?: string; className?: string; }>; /** * SDUI 토큰 문자열(예: "icon_heart_fill")을 지연 로딩 아이콘 컴포넌트로 변환합니다. * 존재하지 않는 토큰이면 null 을 반환합니다. 렌더 시점에 해당 아이콘 하나만 * 별도 lazy bundle 로 로드됩니다. * * @example * import { Suspense } from "@lynx-js/react"; * * const Icon = getIcon(serverToken); * return Icon ? ( * * * * ) : null; */ export declare function getIcon(token: string): LazyExoticComponent | null; /** 사용 가능한 전체 토큰 목록 (예: 아이콘 브라우저 UI). */ export declare const iconTokens: string[]; export {};