import { State } from "../../new-ui/types/store";
import { DeepPartial } from 'redux';
/**
 * Create new state from old state and diff object
 */
export declare const applyStateUpdate: (state: State, diff: DeepPartial<State>) => State;
/**
 * Ensure diff has an object by given path
 * Usually it is being used to pass nested diff property to a helper function
 */
export declare function ensureDiffProperty(diff: object, path: string[]): void;
/**
 * @returns Result of _.get(diff, path) if it exists, _.get(state, path) otherwise
 */
export declare function getUpdatedProperty(state: State, diff: State, path: string[]): unknown;
