/** * namefyi-embed — TypeScript declarations * * The embed script is self-executing. Simply import it to activate widgets. * All configuration is provided via data-* attributes on DOM elements. */ export {}; declare global { interface HTMLElement { dataset: DOMStringMap & { /** Widget type for NameFYI */ 'namefyi'?: 'entity' | 'compare' | 'glossary' | 'guide' | 'search' | 'faq' | 'random' | 'character' | 'elements' | 'stroke'; /** Entity slug (e.g. "names") */ slug?: string; /** Visual theme */ theme?: 'light' | 'dark' | 'sepia' | 'auto'; /** Widget design style */ style?: 'modern' | 'clean'; /** Widget size */ size?: 'default' | 'compact' | 'large'; /** Search box placeholder text */ placeholder?: string; }; } }