/** * Toggles `hidden` on descendants of `host` with `data-swish-when` based on * the current state. The attribute value may be a single state or a * comma-separated list (e.g. `"saved,saving"`) - the child is shown when * the current state matches any entry. Re-applies whenever the bound * signal changes. */ export declare function bindWhen(host: HTMLElement, getState: () => string): () => void; /** * Sets `textContent` on descendants of `host` matching * `[data-swish-bind=""]` to the resolved value. */ export declare function bindValue(host: HTMLElement, key: string, getValue: () => string | number): () => void;