import { default as EaBase } from '../../core/EaBase'; declare const FAMILY_MAP: { readonly classic: "fa-classic"; readonly sharp: "fa-sharp"; readonly brands: "fa-brands"; }; declare const VARIANT_MAP: { readonly solid: "fa-solid"; readonly regular: "fa-regular"; readonly light: "fa-light"; readonly thin: "fa-thin"; readonly duotone: "fa-duotone"; }; export type IconFamily = keyof typeof FAMILY_MAP; export type IconVariant = keyof typeof VARIANT_MAP; /** * @summary 图标组件,基于 Font Awesome 提供常用图标集合,支持多种家族、样式、颜色和大小配置。 * @status stable * @since 3.0 * * @slot default - 默认插槽,用于自定义内容。 * * @csspart container - 图标容器元素。 * * @cssproperty --ea-icon-size - 图标大小。 * @cssproperty --ea-icon-color - 图标颜色。 */ export declare class EaIcon extends EaBase { private _container; name: string; family: IconFamily; variant: IconVariant; color: string; size: string; spin: boolean; /** * 获取 Font Awesome 类名 * @param name 图标名称 * @param family 图标家族 * @param variant 图标样式 * @param spin 是否旋转 * @returns 类名字符串 */ private _getFontAwesomeClass; /** * 更新图标类名 */ private _updateIconClass; /** * 渲染模板 */ html(): string; $mount(): void; } export default EaIcon; //# sourceMappingURL=index.d.ts.map