import type { ISecondaryEntityCache } from './EntitySecondaryCacheLoader.ts'; /** * A ISecondaryEntityCache that composes other ISecondaryEntityCache instances. */ export declare class ComposedSecondaryEntityCache> implements ISecondaryEntityCache { private readonly secondaryEntityCaches; /** * @param secondaryEntityCaches - list of caches to compose in order of precedence. * Earlier caches are read from first and written to (including invalidations) last. * Typically, caches closer to the application should be ordered before caches closer to the database. */ constructor(secondaryEntityCaches: ISecondaryEntityCache[]); loadManyThroughAsync(loadParamsArray: readonly Readonly[], fetcher: (fetcherLoadParamsArray: readonly Readonly[]) => Promise, Readonly | null>>): Promise, Readonly | null>>; private static loadManyThroughRecursivelyAsync; invalidateManyAsync(loadParamsArray: readonly Readonly[]): Promise; }