export type SynAttributeChange = { attribute: string; oldValue: unknown; newValue: unknown; }; /** * An attribute changed event that is emitted when an attribute of a child element changes. * Used together with the `emitEventForPropertyUpdates` decorator. * @see src/internal/watchEvent.ts */ export type SynAttributesChangedEvent = CustomEvent; declare global { interface GlobalEventHandlersEventMap { 'syn-attributes-changed': SynAttributesChangedEvent; } }