import { a as StateScope, n as StateInitializer } from '../types-5EvFF6wb.js'; import 'keyweaver'; import 'react'; /** * Creates a {@link StateScope state scope} for managing complex state structures. * * @example * ```js * const state1Scope = createStateScope(); * * const state2Scope = createStateScope({ name: 'John' }); * * const state3Scope = createStateScope(() => ({ name: 'John' })); * ``` */ declare const createStateScope: { (): StateScope; (value: T | (() => T), stateInitializer?: StateInitializer): StateScope; }; export { StateScope, createStateScope as default };