import { BrowserUISvelteModel } from "./index"; /** * Simple hook that responds to all update events in the model, including when the model is cleared. You pass in a function that takes the model as argument, and that should be invoked when an update/clear event occurs. The function is also invoked when the initial model reference is obtained. * * ```jsx * * *

{count}

* ``` * * @param callback Callback to invoke when an update occurs. * @group Hooks */ export declare function useVisuallyJsUpdate(callback: (model: BrowserUISvelteModel) => any): void;