// Type definitions for @moreyears/icons/web-component // // In v1 these global JSX augmentations lived in the root entry's types, so they // applied to anyone importing the package at all. In v2 they are scoped to the // web component, which is what they actually describe. import type { IconWeight } from './types'; export declare class MoreYearsIcon extends HTMLElement { static get observedAttributes(): string[]; render(): void; } declare global { namespace JSX { interface IntrinsicElements { 'moreyears-icon': { name: string; weight?: IconWeight; size?: string | number; color?: string; 'stroke-width'?: string | number; }; } } interface HTMLElementTagNameMap { 'moreyears-icon': HTMLElement & { name: string; weight: string; size: string; color: string; }; } }