import { DependencyList } from 'react'; import { EventOptions, Result } from '@amplitude/analytics-types'; /** * The hook is called after changing any of the values in the array. (deep comparison is used) * Analogue of componentDidUpdate * * @param {string} eventInput * @param {DependencyList} dependencies * @param {Record} eventProperties * @param {EventOptions} eventOptions * * @returns `{ event: Event, code: number, message: string }` * */ export declare const useTrackOnUpdate: (eventInput: string, dependencies: DependencyList, eventProperties?: Record | undefined, eventOptions?: EventOptions | undefined) => Partial;