export type Store = { getState: () => T; setState: (partial: Partial | ((state: T) => Partial), force?: boolean) => void; subscribe: (listener: () => void) => () => void; }; export declare function hasStateChanged(prevState: T, updates: Partial): boolean; /** * A custom store creation utility */ export declare function createStore(initialState: T): Store;