/** * The store's type definition with a getter, setter, and subscribe property. * @public */ export type Store = { getState: () => T; setState: (action: T | ((prev: T) => T)) => void; subscribe: (callback: () => void) => () => void; }; /** * Creates a store with an initial state and provides getters and setters and subscriptions for the store. * @public */ export declare function createStore(initialState: T): Store;