///
import type { AffiliatesConfig } from "../../records/AffiliateConfig";
/**
* @param {Object} config - Object to configure the middleware
* @param {boolean} config.isDevelopment - Corresponds to process.env.NODE_ENV === "development"
* @param {Object} config.affiliatesConfig - Affiliates configuration sourced from data/affiliates.json
*
* @returns middleware to set affiliate cookies
*/
declare type Config = {
isDevelopment: boolean;
affiliatesConfig: AffiliatesConfig;
};
declare const handleAffiliateCookies: ({ isDevelopment, affiliatesConfig }: Config) => ((req: import("express").Request>, res: import("express").Response>, next: import("express").NextFunction) => void)[];
export default handleAffiliateCookies;