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