export declare const getState: (state: S, path: (string | number)[]) => unknown; export declare const pathIsEmpty: (path: string | (string | number)[]) => boolean; export declare const setValue: (obj: S, path: (string | number)[], value: V) => void; export declare const updateState: (state: S, path: (string | number)[], val: V) => S; export default updateState;