type Primitive = string | number | boolean | symbol | bigint | null | undefined;
type DeepPartial<T> = {
    [P in keyof T]?: T[P] extends Primitive ? T[P] : T[P] extends Array<infer U> ? Array<DeepPartial<U>> : DeepPartial<T[P]>;
};
export declare function deepMergePatch<T>(target: T, patch: DeepPartial<T>): T;
export {};
