import type { Ref } from '@stacksjs/stx'; /** * Deep clone a ref value. Returns a cloned ref that syncs when the source changes. * * @param source - The source ref to clone * @param options - Optional custom clone function */ export declare function useCloned(source: Ref, options?: UseClonedOptions): UseClonedReturn; export declare interface UseClonedOptions { clone?: (val: T) => T } export declare interface UseClonedReturn { cloned: Ref sync: () => void }