import { ComputedGetter, ComputedSetter, ComputedRef, WritableComputedRef } from 'vue';
/**
 * Alternative to `computed`, but triggering only on actual data changes.
 * Always `deep` as the plain `computed` is.
 *
 * With `writeThrough`, a set updates the cache synchronously, so a read reflects
 * the write immediately even when `set` defers its work (e.g. debounced); the
 * getter must then map set values to themselves (`get(x)` deep-equals `x`).
 */
export declare function computedCached<T>(options: {
    get: ComputedGetter<T>;
    set: ComputedSetter<T>;
    writeThrough?: boolean;
}): WritableComputedRef<T>;
export declare function computedCached<T>(getter: ComputedGetter<T>): ComputedRef<T>;
//# sourceMappingURL=computedCached.d.ts.map