import type { KeyType } from '../Cache'; import type { ShallowRef, Ref } from 'vue'; export type ExtractStyle = (cache: CacheValue, effectStyles: Record, options?: { plain?: boolean; }) => [order: number, styleId: string, style: string] | null; export default function useClientCache(prefix: string, keyPath: Ref, cacheFn: () => CacheType, onCacheRemove?: (cache: CacheType, fromHMR: boolean) => void): ShallowRef;