/**
 * @description
 * It returns the index of the first duplicate value it encounters in the array.
 * It returns `-1` when the array has no duplicates.
 *
 * - time complexity O(n)
 * - space complexity O(n)
 *
 * where n is the length of the provided array.
 */
export declare function getIndexOfFirstDuplicateValueOfArray(_: {
    array: unknown[];
}): number;
