export declare function replacePath(path: unknown, item: unknown, index: number, values: T): T;