/** * Hook to create an array with stable identity if its elements are equal. * * @param array - the array * @param compare - the equality function that checks if two array elements are * equal * @returns the passed array if the elements are NOT equals; the previously * stored array otherwise * @public */ export declare const useStableArray: (array: T, compare?: (a: T_1, b: T_1) => boolean) => T; //# sourceMappingURL=useStableArray.d.ts.map