/** * @packageDocumentation * High-performance, lightweight binding utility for unidirectional data flow * and reactive DOM/context interactions. */ export * from './service_binding.js'; export * from './type.js'; /** * Bootstraps and registers all declarative binding directives in the application. * * Registers the following directives: * - `bind_text`: Binds DOM elements' `textContent` to a view model's property. * - `bind_value`: Binds input element values to a view model's property with cursor position guard. * - `bind_attrib`: Binds element attributes to view model properties with presence and removal support. * - `bind_css_var`: Binds CSS custom properties (variables) to view model properties. * * Directives are registered as lazy directives under their respective attribute names. * * @example * ```typescript * import {setupBindDirectives} from '@alwatr/bind'; * * // Call during application bootstrap * setupBindDirectives(true); * ``` */ export declare function setupBindDirectives(autoBootstrap: boolean): void; //# sourceMappingURL=main.d.ts.map