export interface StatePatch { path: PropertyKey[]; value: any; } export declare function reducePatch(state: TState, patches: StatePatch[]): TState;