import { Binding } from './binding'; /** * Handles generic attribute value composition — both single and multi-expression. * For multi-expression attributes like style="color: ${a}; bg: ${b}", * the binding concatenates static string segments with dynamic values. */ export declare class AttributeBinding implements Binding { private element; private attrName; private strings; private values; private committed; constructor(element: Element, attrName: string, strings: string[]); /** * Set a specific part's value (for multi-expression attributes). */ setPartValue(partIndex: number, value: unknown): void; /** * Standard Binding interface — sets the first (and possibly only) value. */ setValue(value: unknown): void; /** * Recompute and apply the full attribute value. */ private commit; clear(): void; disconnect(): void; } /** * Thin wrapper for subsequent expressions in a multi-expression attribute. * Delegates to the parent AttributeBinding with the correct part index. */ export declare class AttributePartBinding implements Binding { private parent; private partIndex; constructor(parent: AttributeBinding, partIndex: number); setValue(value: unknown): void; clear(): void; disconnect(): void; } //# sourceMappingURL=attribute-binding.d.ts.map