import type { MedusaNextFunction, MedusaRequest, MedusaResponse } from "../types";
/**
 * Middleware that resolves the locale for the current request.
 *
 * Resolution order:
 * 1. Query parameter `?locale=en-US`
 * 2. x-medusa-locale header
 *
 * The resolved locale is set on `req.locale`.
 */
export declare function applyLocale(req: MedusaRequest, _: MedusaResponse, next: MedusaNextFunction): Promise<void>;
//# sourceMappingURL=apply-locale.d.ts.map