import type { HttpAgentRequestTransformFn } from '@icp-sdk/core/agent';
/**
 * A custom transform function that processes the HTTP agent request.
 *
 * This transform function is intended to be used with the HttpAgent. It caches the expiry
 * time of requests based on a hash of the request data and checks whether the cache is expired.
 * If the cache is expired, it throws an error. If the cache is not expired, it reuses the cached
 * expiry value.
 *
 * @returns {HttpAgentRequestTransformFn} The transform function that processes the request.
 */
export declare const customAddTransform: () => HttpAgentRequestTransformFn;
