/**
 * Reverses the order of elements in an array `in place` and returns the reversed array.
 *
 * @template T
 * @param {T[]} array - The array to reverse.
 * @returns {T[]} The same array with elements in reversed order.
 */
declare function reverse<T>(array: T[]): T[];

export { reverse as default, reverse };
