import { Replace } from "../Types"; import type { PlainObject, Pretty } from "./Types"; export type ShallowMerge<$A, $B> = $B extends { [Replace]: true; } ? Pretty> : Pretty & Omit<$B, typeof Replace>>; export declare function shallowMerge<$A extends PlainObject, $B extends PlainObject>(a: $A, b: $B): ShallowMerge<$A, $B>;