/** * Rynex State Management * Vanilla JavaScript Proxy-based reactive state (no React hooks) */ type Listener = () => void; type EffectFunction = () => void; /** * Create a reactive state object using Proxy * Any property access is tracked, any property change triggers updates */ export declare function state(initialState: T): T; /** * Create a computed value that automatically updates when dependencies change */ export declare function computed(computeFn: () => T): { value: T; }; /** * Run an effect when reactive dependencies change */ export declare function effect(effectFn: EffectFunction): () => void; /** * Subscribe to state changes manually */ export declare function subscribe(stateObj: any, listener: Listener): () => void; export declare function batch(fn: () => void): void; export {}; //# sourceMappingURL=state.d.ts.map