import type { Ref } from '@stacksjs/stx'; /** * Track the previous value of a ref. * Returns a ref containing the value before the last change. * * @param value - The source ref to track * @param initialValue - Optional initial value for the previous ref */ export declare function usePrevious(value: Ref, initialValue?: T): Ref;