import { ComponentState, PropsWithoutRef } from 'react'; export default function useWatch(value: PropsWithoutRef | ComponentState, callback: (value: any, prevValue: any) => void): void;