import type { iCacheAPI, iCacheResponse } from "../types/ormInterfaces";
import { LogContext } from "./logLevel";
import { SqlAllowListStatus } from "./logSql";
export declare const apiRequestCache: Map<string, iCacheAPI<any>>;
export declare const userCustomClearCache: (() => void)[];
export declare function clearCache(props?: {
    ignoreWarning?: boolean;
}): void;
export declare function checkCache<ResponseDataType = any>(method: string, tableName: string | string[], requestData: any, logContext?: LogContext, allowListStatus?: SqlAllowListStatus): Promise<iCacheResponse<ResponseDataType>> | false;
export declare function setCache<ResponseDataType = any>(method: string, tableName: string | string[], requestData: any, cacheEntry: iCacheAPI<ResponseDataType>): void;
export declare function evictCacheEntry(method: string, tableName: string | string[], requestData: any, logContext?: LogContext, allowListStatus?: SqlAllowListStatus): boolean;
