import { Substraction } from '@thalesrc/js-utils/array/difference'; declare global { export interface Set { /** * #### Difference * * Gets the difference of the sets * * * * * * Example: * ```typescript * import "@thalesrc/js-utils/set/proto/difference"; * * const base = new Set(["a", "b", "c", "d"]); * * base.getDifference(["a", "b"]); // Set(["c", "d"]) * ``` * * * * * @param base Base Set * @param substraction Set or Array to remove its values from the base * @param allDiff By default all the same items encountered in substraction will be removed, set this argument as true to get real difference * @returns Difference of base from substraction */ getDifference(substraction: Substraction, allDiff?: boolean): Set; } }