import type { Ref, ShallowRef } from 'vue'; import type { KeyType } from '../Cache'; export default function useClientCache(prefix: string, keyPath: Ref, cacheFn: () => CacheType, onCacheRemove?: (cache: CacheType, fromHMR: boolean) => void): ShallowRef;