export declare function unique(array: Array): Array; export declare function objectSortedEntries(obj: { readonly [key: string]: unknown; }): Array<[string, unknown]>; export declare function objectSortedEntriesDeep(object: { readonly [key: string]: unknown; }): Array<[string, unknown]>; /** * Get the difference of A and B sets * * This is the set of elements which are in A but not in B * For example, the difference of the sets {1,2,3} and {3,4} is {1,2} * * @param {*} a Set A * @param {*} b Set B * @returns A \ B */ export declare function setDifference(a: ReadonlySet, b: ReadonlySet): Set; /** * Get the symmetric difference of A and B sets * * This is the set of elements which are in either of the sets, but not in their intersection. * For example, the symmetric difference of the sets {1,2,3} and {3,4} is {1,2,4} * * @param {*} a Set A * @param {*} b Set B * @returns A Δ B */ export declare function setSymmetricDifference(a: ReadonlySet, b: ReadonlySet): Set; export declare function setIntersect(a: Set, b: ReadonlySet): void; export declare function setIntersectStatic(a: Set, b: Set): Set; export declare function setUnion(a: Iterable, b: Iterable): Set; export declare function setEqual(a: ReadonlySet, b: ReadonlySet): boolean;