/** * TyOption Web Component - rich HTML alternative to native . * Property-attribute synchronization keeps it compatible with frameworks. */ import type { TyOptionElement } from '../types/common.js'; export declare class TyOption extends HTMLElement implements TyOptionElement { private _value; private _selected; private _disabled; private _highlighted; private _hidden; constructor(); static get observedAttributes(): string[]; connectedCallback(): void; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; /** * Get value from either property or attribute, with textContent fallback. * Property takes precedence (for framework compatibility). */ private getOptionValue; get value(): string | undefined; set value(val: string | undefined); get selected(): boolean; set selected(value: boolean); get disabled(): boolean; set disabled(value: boolean); get highlighted(): boolean; set highlighted(value: boolean); get hidden(): boolean; set hidden(value: boolean); private render; }