/** * For a component whose attributeChangedCallback assigns through its own * accessors: call it in the constructor. While an element upgrades, the * attribute callbacks run before connectedCallback and would overwrite the * early values (an own property takes the assignment); taken off here, they * reach the setters in upgradeProperties() instead, after the attributes. */ export declare function liftProperties(el: HTMLElement): void; /** * Properties set before the element upgraded (a framework rendering it * before its definition loaded, a lazily defined element) are own data * properties that shadow the class accessors, so later assignments would * never reach a setter. Standard "upgrade property" pattern: read the own * value, delete it, assign it again through the accessor. Covers every * settable accessor on the prototype chain (value, checked, open, error, * minLength, …). TyComponent does this itself; a component extending * HTMLElement directly calls it at the start of connectedCallback. * A value its setter rejects is reported, not thrown: connectedCallback * goes on, as it would for an attribute with a bad value. */ export declare function upgradeProperties(el: HTMLElement): void;