import { Observable } from 'rxjs';
/**
 * Clears all memoized data for memoizeObservable calls. All calls made to those functions after
 * clearing will result in the fetch func being called again.
 *
 * You must call this function after you've modified a memoized resource, or else some components of
 * the UI may have a stale view of the resource.
 */
export declare function resetAllMemoizationCaches(): void;
/**
 * Creates a function that memoizes the observable result of func.
 * If the Observable errors, the value will not be cached.
 *
 * @param resolver If resolver provided, it determines the cache key for storing the result based on
 * the first argument provided to the memoized function.
 */
export declare function memoizeObservable<P, T>(func: (params: P) => Observable<T>, resolver?: (params: P) => string): (params: P, force?: boolean) => Observable<T>;
//# sourceMappingURL=memoize.d.ts.map