export declare namespace UtilityTypes { /** Mark some properties which only the former including as optional and set the value to never */ type Without = { [P in Exclude]?: never; }; /** get the XOR type which could make 2 types exclude each other */ export type XOR = T | U extends object ? (Without & U) | (Without & T) : T | U; export {}; }