/** * `useVendoState` — the `$state` binding, in code-land (blueprint §5.4). * * The same keyed store the renderer resolves `{ $state: "tab" }` against * (`@vendoai/vendo/ui/kit`'s `useKeyedState`, owned by the provider): one namespace * per app instance, `Json` values, `[value, setValue]`. An unwritten key reads * as its `initial` — the fallback is a READ, never a write, so mounting a * component can never mutate the app's state. */ import type { Json } from "../../core/index.js"; export declare function useVendoState(key: string, initial?: T): [T | undefined, (value: T) => void];