/**
* Ambient globals for `@js()`-decorated methods (see
* src/features/support_js/js.ts). These methods never run on the server
* - their source is shipped to the client and evaluated there, where
* `$wire`/`$js` are real runtime values injected by the vendored client
* bundle. TypeScript has no way to know that, so referencing them inside
* a `@js()` method body would otherwise fail to compile.
*
* Not auto-included - reference it once per project:
* `/// `
*/
export {};
declare global {
/**
* The component's client-side state/action proxy. Reading a property
* returns its current value; assigning one updates it (and the DOM)
* immediately, without a server round-trip.
*/
var $wire: Record;
/**
* Other `@js()`-registered methods on this component, callable from
* within a `@js()` method body the same way `$wire.methodName()` calls
* a server action from a template.
*/
var $js: Record any>;
}