export type StorePath = string | number | symbol; export interface SetStore { (value: Partial | ((state: T) => T)): void; ( key: K1, value: T[K1] | ((previous: T[K1]) => T[K1]) ): void; (...pathAndValue: [...StorePath[], unknown]): void; } export declare const STORE_RAW: unique symbol; export declare function createStore( initialValue: T ): [store: T, setStore: SetStore]; export declare function produce(mutator: (draft: T) => void): (state: T) => T; export declare function reconcile(value: T): (state: T) => T;