import type { StoreShouldUpdate, StateWithUpdater, ActionsUnbinded, ActionsBinded, HookStore } from './types'; declare function createStore>(initialStateResolver: () => S, actions: A): { /** Store */ store: HookStore; /** Hook that subscribes component to the store */ useStore(shouldUpdate?: StoreShouldUpdate>): readonly [StateWithUpdater, ActionsBinded]; /** Resets store to its default state */ reset(): void; }; export default createStore; export type { HookStore, ActionsBinded, StateWithUpdater };