import type { nullish, SingleOrArray } from "../types/global.types";
export interface CacheOptions<DataType> {
    /**
     * The maximum amount of documents that can be stored before erasure.
     *
     * @defaultValue `10`
     */
    limit: number;
    /**
     * The method to use in determining data equality
     *
     * @defaultValue `Object.is`
     */
    resolver(storedData: SingleOrArray<DataType> | nullish, newData: SingleOrArray<DataType> | nullish): boolean;
}
//# sourceMappingURL=cache.interface.d.ts.map