/** * Returns the value and index of the minimum element in an array. * @param arr array of numbers. * @returns the value and index of the minimum element, of the form: [valueOfMin, indexOfMin] * @throws {Error} If array is empty. */ export declare function min(arr: number[]): [number, number];