/**
* Two-way binding directive.
*
* @packageDocumentation
*/
import { Directive } from '../types.js';
/**
* Bind form element value to state with two-way data binding.
*
* @remarks
* Updates the element value when state changes, and updates state
* when the user modifies the element. Handles different input types:
* - text/textarea: binds to value, uses input event
* - checkbox: binds to checked, uses change event
* - radio: binds to checked, uses change event
* - select: binds to value, uses change event
* - number: binds to value (as number), uses input event
*
* @example
* ```html
*
*
*