export type { InferActionsType, InferStateApi, AnyActions, } from 'react-hooks-global-states/createGlobalState'; import type { CreateGlobalState } from './types'; /** * Creates a global state hook. * @param state - The initial state value. * @param args - Optional configuration arguments. * @returns A state hook for managing the global state, the hook also embeds the state api methods. */ export declare const createGlobalState: CreateGlobalState; export default createGlobalState;