/** * Returns the previous value of the provided value. * * @param value - The value to track. * @returns The previous value of the provided value. * * @example * ```tsx * const [count, setCount] = React.useState(5); * const prevCount = usePrevious(count); * * console.log(prevCount); // undefined * * setCount(10); * * console.log(prevCount); // 5 * ``` */ export declare function usePrevious(value: T): T | null | undefined;