import ComponentHook from '../../component_hook.js'; import type ComponentContext from '../../component_context.js'; /** * PHP parity: Livewire\Attributes\Transition * * The vendored client bundle (assets/livewire.js) already reads * `component.effects.transition` (`{ type?: string, skip?: boolean }`) * in `transitionDomMutation()` to configure - or skip entirely - the * browser's View Transitions API around a DOM morph. This feature's only * job is turning whatever got written to the `transitionOptions` store * key into that effect on dehydrate. * * That store key is written by two independent sources, both landing * here the same way: the `@transition()` decorator's `call()` hook (see * transition.ts) when its specific method runs, or the imperative * `this.transition()`/`this.skipTransition()` calls (base_component.ts) * for conditional logic inside an action. Whichever fires last within a * single request wins - same as calling either PHP API twice would. */ export declare class SupportTransition extends ComponentHook { dehydrate(context: ComponentContext): Promise; }