/** Return true when every item in `array2` is present in `array1`. */ export declare function contain(array1: readonly any[], array2: readonly any[]): boolean; /** Return items that appear in both arrays. */ export declare function intersection(array1: readonly T[], array2: readonly T[]): T[]; /** Return items from `array1` that do not appear in `array2`. */ export declare function difference(array1: readonly S[], array2: readonly any[]): S[]; /** Return the set-union of two arrays while preserving first occurrence order. */ export declare function union(array1: readonly T[], array2: readonly T[]): T[]; /** Remove duplicate values while preserving first occurrence order. */ export declare function deduplicate(array: readonly T[]): T[]; /** Remove one item from an array and report whether it was found. */ export declare function remove(list: T[], item: T): boolean; /** Normalize nullish, scalar, or array input to an array. */ export declare function makeArray(source: null | undefined | T | T[]): T[]; //# sourceMappingURL=array.d.ts.map