import { Binding } from './binding';
/**
* Value passed to a two-way binding. Either:
* - A tuple: [currentValue, setter]
* - A binder object: { value, set }
*/
export interface BinderObject {
value: unknown;
set: (value: unknown) => void;
}
/**
* Two-way binding: sets a DOM property and listens for the corresponding
* DOM event to push changes back to the host component.
*
* Template syntax:
* this.name = v]}>
*
*/
export declare class BindBinding implements Binding {
private element;
private propertyName;
private handler;
private eventName;
private setter;
constructor(element: Element, propertyName: string);
setValue(value: unknown): void;
clear(): void;
disconnect(): void;
}
//# sourceMappingURL=bind-binding.d.ts.map