import { d as LoadableStateOptions, n as StateInitializer, c as LoadableStateScope, e as AsyncStateOptions, b as AsyncStateScope } from '../types-5EvFF6wb.cjs'; import 'keyweaver'; import 'react'; declare const createAsyncStateScope: { /** * Creates a {@link LoadableNestedState loadable nested state} with basic loading capabilities. * * * @example * ```js * const loadableState = createAsyncNestedState({ * load: () => {} // loading logic * }); * ``` */ (options: LoadableStateOptions, stateInitializer?: StateInitializer): LoadableStateScope; /** * Creates a {@link AsyncNestedState basic asynchronous nested state} * * @example * ```js * const asyncState = createAsyncNestedState(); * ``` */ (options?: AsyncStateOptions, stateInitializer?: StateInitializer): AsyncStateScope; }; export { AsyncStateScope, LoadableStateScope, createAsyncStateScope as default };