/** * `data-emit` delegation (spec: "Wiring DOM events to emits — two layers", * Level 1). Shared between and — both are * shadow-DOM content hosts where an author's zero-script markup can declare * `data-emit="event"` + `data-*` payload keys (DOM camel-casing, e.g. * `data-feature-id` -> `featureId`) instead of writing a script block. * Fires on click for non-form elements, change for form elements (which also * get their own `.value` merged in). */ export declare function attachDataEmitDelegation(root: ShadowRoot, emit: (event: string, payload: Record) => void): void;