import { TMasterData } from '../../TYPES/Store';
/**
 * Sets contenthash received from headers for sec master file in cache
 *
 * @param value
 * @param [cacheExpirationTime=DEFAULT_CACHE_EXPIRATION_TIME]
 * @returns
 */
export declare function setCacheContentHash(value: string, cacheExpirationTime?: number): Promise<void>;
/**
 * Retrieves the last cached content hash stored in the cache.
 *
 * @returns
 */
export declare function getLastCachedContentHash(): Promise<string | undefined>;
/**
 * Compares the provided content hash with the one stored in the cache.
 *
 * @param {string} contentHash - The content hash to compare.
 * @returns {Promise<boolean>} True if the content hash matches the cached value, otherwise false.
 */
export declare function checkIfContentHashIsSame(contentHash: string): Promise<boolean>;
/**
 * Extracts the content hash from the given headers.
 *
 * @param headers
 * @returns
 */
export declare function getContentHashFromHeaders(headers: any): any;
/**
 * Retrieves the cached response for a given URL if it exists.
 *
 * @param {string} secMasterURL - The URL for which to fetch the cached response.
 * @returns {Promise<any | undefined>} The cached response data, or undefined if not found.
 */
export declare function getCacheResponse(secMasterURL: string): Promise<any>;
/**
 * Stores the provided data in the cache for a given URL.
 *
 * @param {string} secMasterURL - The URL to associate with the cached data.
 * @param {TMasterData} SEC_MASTER_ARRAY - The data to be stored in the cache.
 * @returns {Promise<void>}
 */
export declare function setCacheResponse(secMasterURL: string, SEC_MASTER_ARRAY: TMasterData): Promise<void>;
