/** * Shared g-bind attribute processing utilities. * * @packageDocumentation */ import { Expression, Context } from './types.js'; /** * Apply a single g-bind attribute value to an element. * * @param el - The element to update * @param targetAttr - The attribute name to set (without g-bind: prefix) * @param value - The evaluated value */ export declare function applyBindValue(el: Element, targetAttr: string, value: unknown): void; /** * Process all g-bind:* attributes on an element. * For server-side rendering (one-time evaluation). * * @param el - The element to process * @param ctx - The context for expression evaluation * @param decode - Whether to decode HTML entities (for server-side) */ export declare function processBindAttributesOnce(el: Element, ctx: Context, decode?: boolean): void; /** * Get all g-bind attributes from an element. * Used by client to set up reactive bindings. * * @param el - The element to get bindings from * @returns Array of [targetAttr, expression] pairs */ export declare function getBindAttributes(el: Element): Array<[string, Expression]>;