/**
 * Custom hook to update the current time periodically based on the provided date.
 *
 * @param {string | number | Date} date - The reference date to compare against the current time.
 * @param {boolean} live - A flag to determine if the time should be updated live.
 * @param {number} minPeriod - The minimum period (in seconds) between updates.
 * @param {number} maxPeriod - The maximum period (in seconds) between updates.
 * @param {() => number} now - A function that returns the current time in milliseconds.
 *
 * @returns {number} The current time in milliseconds.
 *
 * @example
 * const currentTime = useTimeUpdate(new Date(), true, 1, 60, () => Date.now());
 */
export declare function useTimeUpdate(date: string | number | Date, live: boolean, minPeriod: number, maxPeriod: number, now: () => number): number;
//# sourceMappingURL=useTimeUpdate.d.ts.map