export declare const modifyPath: ((path: string[], fn: (val: unknown) => unknown, obj: any) => any) & ((...args: any[]) => any);