/**
 * Custom React hook to measure the elapsed time since a specified start time or the component's mount time.
 *
 * @param {number} [startTime=Date.now()] - The start time in milliseconds from which to measure the elapsed time.
 * @returns {Function} A function that returns the elapsed time in milliseconds since the specified start time
 * or the component's mount time.
 *
 * @example
 * import useElapsedTime from '@rio-cloud/rio-uikit/useElapsedTime';
 * import Button from '@rio-cloud/rio-uikit/Button';
 *
 * const MyComponent = () => {
 *   const getElapsedTime = useElapsedTime();
 *
 *   const handleClick = () => {
 *     const elapsedTime = getElapsedTime();
 *     console.log(`Elapsed time: ${elapsedTime} ms`);
 *   };
 *
 *   return (
 *       <Button onClick={handleClick}>Get elapsed time</Button>
 *   );
 * };
 */
declare const useElapsedTime: (startTime?: number) => (() => number);
export default useElapsedTime;
