//#region src/store.d.ts
/**
* @fileoverview Deep reactive store implementation for Fict.
*
* `$store` creates a deeply reactive proxy that tracks property access at the path level.
* It is the only user-facing deep store API. Runtime `createStore` remains an
* internal compiler/resume helper; application code should import `$store`.
*
* @example
* ```typescript
* const user = $store({ name: 'Alice', address: { city: 'London' } })
* user.address.city = 'Paris' // Fine-grained reactive update
* ```
*/
/**
* Create a deep reactive store using Proxy.
*
* Unlike `$state` (which is shallow and compiler-transformed), `$store` provides:
* - **Deep reactivity**: Nested objects are automatically wrapped in proxies
* - **Direct mutation**: Modify properties directly without spread operators
* - **Path-level tracking**: Only components reading changed paths re-render
*
* @param initialValue - The initial object to make reactive
* @returns A reactive proxy of the object
*
* @example
* ```tsx
* import { $store } from 'fict'
*
* const form = $store({
* user: { name: '', email: '' },
* settings: { theme: 'light' }
* })
*
* // Direct mutation works
* form.user.name = 'Alice'
*
* // In JSX - only updates when form.user.name changes
*
* ```
*
* @public
*/
declare function $store(initialValue: T): T;
//#endregion
export { $store as t };
//# sourceMappingURL=store-CLLtJRzY.d.ts.map