/** * adowire client — Alpine.js $wire magic bridge * * Registers an Alpine magic property `$wire` that proxies to the * WireClientComponent instance closest to the element that Alpine is * initialising. This lets Alpine components read and write wire state * naturally: * *
* * *
* * Property reads → component.snapshot.state[prop] * Method calls → component.commit([{ method, params }], {}) * Property writes → component.commit([], { [prop]: value }) * Special methods → forwarded directly to the component instance * ($set, $refresh, get, commit, …) */ /** * Register the Alpine `$wire` magic if Alpine is present on the window. * * Safe to call before Alpine boots — Alpine collects magic registrations * and applies them lazily. If Alpine is not detected this is a no-op. */ export declare function initAlpineBridge(): void;