/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { ObservingDependent } from "./incrementalObservation";
/**
 * Caches and invalidates a value.
 */
export interface ICachedValue<T> {
    get(): T;
}
/**
 * Create a ICachedValue that is invalidated when `observer` (as provided to `compute`) gets invalidated.
 */
export declare function cachedValue<T>(compute: (observer: ObservingDependent) => T, computationName?: string): ICachedValue<T>;
//# sourceMappingURL=cachedValue.d.ts.map