import type { NextFunction, Request, Response } from 'express'; import type { LoadHarDataFn } from './harUtils'; /** * A middleware factory that reads the HAR file and returns the body of the recorded request * based on the path and method. * * @param {string} harFilePath - The path of the HAR file to read * @returns {function} Express middleware */ export declare const recordedHarMiddleware: (harFilePath: string, getHar: LoadHarDataFn, prefix: string) => (req: Request, res: Response, next: NextFunction) => Promise;