import type { ExtractAssetName, ExtractAssetSet } from '@odx/assets-utils'; import { OdxAssetElement } from '@odx/assets-utils/element'; declare global { export interface _OdxIcon { } interface HTMLElementTagNameMap { 'odx-icon': OdxIconElement; } } export type OdxIconName = keyof _OdxIcon | ExtractAssetName; export type OdxIconSet = ExtractAssetSet; export type OdxIconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; export interface OdxIconElement { set name(value: OdxIconName); get name(): OdxIconName; /** * @deprecated Use name property with format `::` instead */ set set(value: OdxIconSet); get set(): OdxIconSet; } export declare class OdxIconElement extends OdxAssetElement { static defaultSet: OdxIconSet; static readonly styles: string; readonly namespace = "odx-icon"; set size(value: (OdxIconSize | (string & {})) | null | undefined); get size(): OdxIconSize | (string & {}) | undefined; }