export declare function createStore(initialState: StoreShape): { setState: (fn: (state: StoreShape) => StoreShape, publish?: boolean) => void; getState: () => StoreShape; emitChanges: () => void; subscribe: (listener: (state: StoreShape) => void) => () => boolean; };