import { type Ref } from 'vue'; /** * Keeps value updated after delay time * * @see https://dataclient.io/docs/api/useDebounce * @param value Any immutable value (can be a ref) * @param delay Time in milliseconds to wait til updating the value * @param updatable Whether to update at all * @example ``` const [debouncedQuery, isPending] = useDebounce(query, 200); const list = useSuspense(getThings, { query: debouncedQuery.value }); ``` */ export default function useDebounce(value: T | Ref, delay: number, updatable?: boolean | Ref): [Ref, Ref]; //# sourceMappingURL=useDebounce.d.ts.map