import { IHttpCookie, HttpCookie } from '../../models/HttpCookie.js';
import { IHttpRequest } from '../../models/HttpRequest.js';
import { IRequestLog } from '../../models/RequestLog.js';
import { IResponse } from '../../models/Response.js';
import { IResponseRedirect } from '../../models/ResponseRedirect.js';
export declare class RequestCookiesProcessor {
    /**
     * Applies cookies to the request object.
     *
     * Note, this mutates the request object.
     *
     * @param request The request to which apply the cookies.
     * @param cookies The cookies to apply
     */
    static request(request: IHttpRequest, cookies?: (IHttpCookie | HttpCookie)[]): void;
    /**
     * Computes a list of cookies in the response. This includes the redirect cookies and the final response.
     *
     * @param log The HTTP log.
     * @returns A map where keys are the URL of the request and the values are cookies.
     *          It may be empty map when no cookies.
     */
    static response(log: IRequestLog): Record<string, HttpCookie[]> | undefined;
    protected static extract(response: IResponse, url: string, redirects?: IResponseRedirect[]): Record<string, HttpCookie[]>;
}
//# sourceMappingURL=RequestCookiesProcessor.d.ts.map