/** * Randomly selects one item from an array with uniform probability. */ export declare function randomlyPick(input: T[]): T; /** * Moves one item of an array in place and returns the mutated array. * @param arr - Array * @param from - Index of item to move * @param to - Index to move it to */ export declare function moveArrayItem(arr: any[], from: number, to: number): any[]; /** * Returns `true` if the value is defined and does not appear in the array. * @param value - Value * @param array - Array */ export declare function mismatch(value: any, array: any[]): boolean; /** * Returns `true` if the value is undefined or appears in the array. * @param value - Value * @param array - Array */ export declare function matchIfDefined(value: any, array: any[]): boolean; //# sourceMappingURL=ArrayUtils.d.ts.map